find /etc -type f -exec grep network \{\} --with-filename \; find /etc -type f -exec grep -i network \{\} --with-filename \; find /etc -type f -exec grep '\-\z' \{\} --with-filename \; | less find /etc -type f -exec grep '\[\[' \{\} --with-filename \; find: find . -type f -exec grep -i mysearchstring \{\} --with-filename \; file string cat grep diff -Naur file1 file2 Other useful commands: grep head tail less more string locate