Re: Unix Command Help

  • From: "qubit" <lauraeaves@xxxxxxxxx>
  • To: <programmingblind@xxxxxxxxxxxxx>
  • Date: Thu, 19 Aug 2010 09:26:23 -0500

That's easy -- check out the man page for the find command -- it has an 
unusual, but simple syntax.  To find your files type

find rootdirname -name index.php -print
HTH
--le
----- Original Message ----- 
From: "Jeff Berwick" <mailinglists@xxxxxxxxxxxx>
To: <programmingblind@xxxxxxxxxxxxx>
Sent: Thursday, August 19, 2010 8:57 AM
Subject: Unix Command Help


Hi all,

In Windows/DOS, I would use a command like:

dir index.php /s

To search my hard drive to find all files named index.php.  I am trying to 
do this on my Mac in terminal as I have misplaced my website files which are 
in the terminal - not in the Mac file system.  Not sure why they don't show 
up in the Mac side of things but, can anybody provide me a Unix command to 
perform this type of search?

Thx,
Jeff

__________
View the list's information and change your settings at
//www.freelists.org/list/programmingblind

__________
View the list's information and change your settings at 
//www.freelists.org/list/programmingblind

Other related posts: