I've used sudo updatedb
and then locate foo
to find things on my system, and that worked for some things but not
others. I needed something more powerful, enter ........... Grep!
Grep works as
grep pattern file-name1 file-name2
as in
grep 'Bin 01' /home/boztu/Music/*
Which shows all instances of 'Bin 01'. Simple to use, and much more powerful than just plain locate!
More information and further examples can be found at http://bulba.sdsu.edu/grephelp.html.
Comments
comments powered by Disqus