Tips to use Grep Command in Linux

Grep is one of the most use Linux command from command line. The grep command use to search text or searches the given file for lines containing a match to the given strings or words. Very useful if you want to search a text inside the files. And you can use regular expression in filtering the files.1. The basic use fo grep commands:2. Find a word in a file using grep command3. Recursive search in directories4. Ignore word case5. Search 2 different … Read more...