HI,<br>1)Wanted to search a name e.g. Tom in number of files<br>of my current directory and to redirect the output <br>to a file, so that I can see which all the<br>letters that has been written to Tom.<br><br>How to do it?<br><br><br>
If you want to make it case insensitive, try:<br><FONT FACE=monospace><br>grep -li Tom * >> file<br></font><br><br>If you wanted to search for Tom or Thomas:<br><FONT FACE=monospace><br>egrep -li "Tom¦Thomas" * >>file<br><br>HTH
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.