Handy Little Trick

Kurt Wall kwall
Mon May 17 11:55:55 PDT 2004


This is *so* cool:

Highlight occurences of a word in a file:

$ grep --color <word> <file>

This will highlight each appearance of <word> in <file>.

Kurt
-- 
"Text processing has made it possible to right-justify any idea, even
one which cannot be justified on any other grounds."
		-- J. Finnegan, USC.


More information about the Linux-users mailing list