This chapter focused on two commands that you'll be using often: locate and grep. Though they're relatedboth assist the Linux user in finding files and information on his computerthey go about it in different ways. The locate command searches the names of files using a database of filenames to speed up its work, while the grep command looks in real time within the contents of files to pull out the search terms.

As cool as both locate and grep are, they're just the beginning when it comes to searching your file system. The next chapter is about one of the most powerful and versatile commands on a Linux system, a command that perfectly complements, and in fact can work in tandem with, locate and grep. That command? The mighty find. Turn that page and let's get going!

Linux Phrasebook
Linux Phrasebook
ISBN: 0672328380
EAN: 2147483647
Year: 2007
Pages: 288

Similar book on Amazon © 2008-2017.
If you may any questions please contact us: