The grep Command
Learn about the grep utility in detail.
We'll cover the following...
Using grep
The GNU utilities have one more searching tool besides find
, called grep
. This utility checks file contents when searching.
How to choose the proper utility for searching
Use find
for searching a file or directory by its name, path, or metadata. Metadata is extra information about an object. Examples of the file metadata are size, time of creation, last modification, and permissions. Use the grep
utility to find a file when we know nothing about it except its contents.
The following ...
Access this course and 1400+ top-rated courses and projects.