14 useful grep command with examples for Linux beginners

Pradeep Kumar

I am a huge fan of open source and love to share How To's tutorials on Linux, Cloud and DevOps. I have been working as Linux Consultant, Cloud & DevOps Engineer since 2010

You may also like...

3 Responses

  1. Malcolm Hutchison says:

    “-i option … i.e it will ignore upper case or lower case letters while searching”

    the “i.e ” description is not correct – it doesn’t ignore uppercase or lowercase letters (which would mean it ignores all letters) but it does not discriminate between upper and lower case lettesr, so uppercase A will match either uppercase or lowercase A.

  2. swathi says:

    Awesome article on grep command ..


    ## cat myfile| grep –w “cook”

    with the above command,we will exactly find out the searches which have “cook” word.It wont give results which has cooking.

    we can add the above command also ? Nice Article

Leave a Reply

Your email address will not be published. Required fields are marked *