This is a read-only archive. Find the latest Linux articles, documentation, and answers at the new Linux.com!

Linux.com

Re:Find a string within the files

Posted by: Anonymous Coward on July 11, 2006 06:08 PM
You might as well use:
<tt>grep -iRl user *</tt>

Personnaly I have an alias in my<nobr> <wbr></nobr>.bashrc with:
<tt>alias g='egrep --color=auto -i -r' #> Quick search with colors, case insensitive and recurse dirs</tt>

Note that this doesnt change the normal grep behaviour:
<tt>cat<nobr> <wbr></nobr>/etc/passwd | g myself | less</tt>

I hope this helps...<nobr> <wbr></nobr>;-)

#

Return to CLI Magic: Searching with find