Logo

grep

Posted under » Linux on 26 December 2011

Grep is good for finding strings. There are a variety of uses.

Most basic usage

grep 'string' *.txt

Slighty more defined find

grep 'comprehend' --include=*.txt /var/zim/ -r

History is a common use for me

history | grep firefox

PS

ps axuwww | grep python