//View Tip #282
Similar Tips
» Find and Grep
» Get your IP in one line
» BBC Weather
» Random IP addresses
» Find occurrences of a string in a large code base without firing


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 »


Add your comment

Comments are currently disabled
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