grep
What is grep?
grep
is a command-line utility for searching plain-text data sets for lines that match a regular expression. Its name comes from the ed command g/re/p (globally search for a regular expression and print matching lines), which has the same effect. grep
was originally developed for the Unix operating system, but later available for all Unix-like systems and some others such as OS-9.
long story short : it filters a file on the conditions that you give the grep
command
How to use grep
Be sure to understand the pipe
command first
References
https://www.cyberciti.biz/faq/grep-regular-expressions/ (used to filter on grep regular expressions)
Last updated
Was this helpful?