How To Use grep Command (With Examples)
How to use grep command
You can see in the image below that we searched for the word “technological” and it returned two matches. On the left side of the printed line, we can see the line number.
It is in the same directory as my first file.
You can check out all of these options by simply typing grep –help.