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
Written by Vitaly
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Shell
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#