Basic Linux Commands
grep [options] pattern [files] -c : This prints only a count of the lines that match a pattern -i : Ignores, case for matching -w : Match whole word grep -i "UNix" <file_Name> grep -v "#" <file_Name > -v option tells grep to invert its output find . -name “*.txt” | grep –i JayZ | grep –vi “remix” grep -n "ERROR" <file_Name> returns line # of search pattern grep -wr "ERROR" * ...