//View Tip #282
Similar Tips
» Find words in garbled text
» Grep for word in directory
» Subtract one file from another
» Find and Grep
» Print a random shell-fu tip

 

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