grep is designed to find according patterns in entire data streams (files). This is similar to formulating search patterns in the stream editor sed. The name grep is a combination of the initial letters of the four words " global / regular expression / print". Here, the term friends means a group of similar tools that are tailored to a specific data format, or file structure like plain text, compressed files, and PDF documents. But if you want to find files that contain a certain text you'll want to use grep and its friends. If you want to find files with a certain filename using the command line then use either the find or the locate commands. Furthermore, the LPI certification contains tricky questions about this. This topic is essential knowledge for every user of UNIX, Linux, Solaris, OS X, and BSD.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |