Last Updated: February 25, 2016
·
564
· ck3g

Quickly search in files

That's how can you quickly looking for content in files:

$ grep 'thing' ./app -Rni

$ find ./app | xargs grep 'thing' -sni

Where:
'thing' - search phrase
./app - location and mask
R - follow symlinks
i - ignore case
n - line numbers
s - suppress errors