//View Tip #282
Similar Tips
» Print a random shell-fu tip
» iso2cd
» Command examples from shell-fu
» Check low space
» Grep for word in directory

 

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