Word Process in Linux -- GREP Jul 10th, 2013 | Comments grep by multi words 1 cat file.txt | grep "word1\|word2\|word3" grep line which doesn’t contains word 1 cat file.txt | grep -v word show n lines above and under greped line 1 cat file.txt | grep -20 word