User Tools

Site Tools


linux:shell_commands:string_search

Search for files with specific string in them

|Linux shell
find /var/www -type f -exec grep -l '/sync-clients/' {} \;

This will output all files with the specified string. The path in example is /var/www, and string we search for is /sync-clients/

linux/shell_commands/string_search.txt · Last modified: 2017/08/10 11:00 (external edit)