On Thursday, January 05, 2012 04:37:40 PM, John Mort wrote:
> john@azrael:/media/mtool/Tokens$ ls * | grep README.txt
> README.txt
> README.txt
> README.txt
> README.txt
> README.txt
> README.txt
> README.txt
> README.txt
> README.txt
> 
> 
> The folder I'm running this command in has many many subfolders.  How do I
> change my command to tell me where these README.txt files are so that I can
> purge them?

Use the -l option to ls, i.e.:

   ls -l * | grep README.txt

But more often the way I do this personally, from the top directory that I 
want to search down from, would be:

   find . -iname "README.txt"

  -- Chris

--
Chris Knadle
[email protected]
_______________________________________________
Mid-Hudson Valley Linux Users Group                  http://mhvlug.org
http://mhvlug.org/cgi-bin/mailman/listinfo/mhvlug

Upcoming Meetings (6pm - 8pm)                         Vassar College
  Feb 1 - Home Networking Made Simple with Amahi Home Server
  Mar 7 - March 2012 Meeting - 9th Annivesary of MHVLUG
  Apr 4 - April 2012 Meeting

Reply via email to