Also check the man pages as well for egrep and fgrep. How to use grep command in unix and linux with examples. It is very useful while searching for strings in unix and linux operating system.
The below command will search for words like abc, abbc, abbbc etc. I've tried some in some tuorials, but i get error code 53 again. Examples which are handy and make your life a little easier.
This seemingly trivial program is extremely powerful when used correctly. Which is fine, but i have no idea of what parameters it expects.
Here are 30 such grep commonplace use cases and options. The below command will search for ac, abc. If the grep command it self can do the work for you, why to learn new linux command. This means that grep can be used to see if the input it receives matches a specified pattern. Its ability to sort input based on complex rules makes it a popular link in many command chains.