//View Tip #282
Similar Tips
» Check memory and swap from command line
» Moved Trac and Subversion repositories to another machine/direct
» BBC Weather
» Grep for word in directory
» Random password generator.

 

Latest tips by RSS
Click here to subscribe
Follow Shell-Fu on Twitter
Click here to follow
Follow Shell-Fu on identi.ca
Click here to follow
Grep file(s) and highlight the grep matches using less...


grep query *.php | less +/query


View Comments »




Comments 

Add your comment

Comments are currently disabled
jerbear
see the --color option on the grep man page.
Posted 2008-09-17 14:00:03

Home Latest Browse Top 25 Random Hall Of Fame Contact Submit