$ grep girish /etc/passwd

is known. grep stands for "global regular expression print"

In fact it is so well known that I often think that grep should be
made an English verb.

Anyway the above is not the tip.

$ grep --color girish /etc/passwd

shows the matching lines with the keyword in color.

Also -r is recursive grep. -i is case insensitive grep and -v is non
matching lines...

fgrep is useful when you want to have regular expressions like ".iso"
in the lookup string.

zfgrep is for grepping gzipped files.

-Girish

-- 
Gayatri Hitech
web: http://gayatri-hitech.com

SpamCheetah Spam filter:
http://spam-cheetah.com
_______________________________________________
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with 
"unsubscribe <password> <address>"
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to