Grep - stands for Globally Search a Regular Expression and Print. It is used to search a given string/pattern under the given path and list out all the occurances of it in a file or set of files. Following are the options available for grep command. 1. grep muru . - this command search for the word muru in all the files under the current directory and print its occurances 2. grep -v muru sample.txt - this command prints all the lines in sample.txt that doesn't contain the string muru 3. grep -s muru sample.txt - this command suppresses error string if any 4. grep -n muru sample.txt - similar to example-1 but it also displays the line number along with the lines 5. grep -l muru . - similar to example-1 but here it will display only the name of the files which contains the string muru and not the lines it contains 6. grep -i muru . - similar to example-1 but it is case in sensitive 7. grep -c muru . - similar to example-1 it also displays total count (ie) total number of occurances of the string 8. grep -q muru . - if the string is found in any file then the command exit with value 0 . It will not output anything. 9. grep -e muru -e India . - used to search more than one pattern at a time