//View Tip #282
Similar Tips
» Remove every file but one
» iso2cd
» Find occurrences of a string in a large code base without firing
» Command examples from shell-fu
» Grepping for processes

 

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