RE: Unix Command Help

  • From: "Homme, James" <james.homme@xxxxxxxxxxxx>
  • To: "programmingblind@xxxxxxxxxxxxx" <programmingblind@xxxxxxxxxxxxx>
  • Date: Thu, 19 Aug 2010 10:31:13 -0400

Hi,
According to http://unixhelp.ed.ac.uk/CGI/man-cgi?ls, lower case r sorts the 
listing in reverse order.

Jim

Jim Homme,
Usability Services,
Phone: 412-544-1810. Skype: jim.homme
Internal recipients,  Read my accessibility blog. Discuss accessibility here. 
Accessibility Wiki: Breaking news and accessibility advice


-----Original Message-----
From: programmingblind-bounce@xxxxxxxxxxxxx 
[mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of DaShiell, Jude T. 
CIV NAVAIR 1490, 1, 26
Sent: Thursday, August 19, 2010 10:04 AM
To: programmingblind@xxxxxxxxxxxxx
Subject: RE: Unix Command Help
Importance: Low

Ls -r *.htm should do it.  The -r is recursively search directory paths
so be in the highest location and maybe better ls -r *.htm | less.

-----Original Message-----
From: programmingblind-bounce@xxxxxxxxxxxxx
[mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of Jeff Berwick
Sent: Thursday, August 19, 2010 9:57
To: programmingblind@xxxxxxxxxxxxx
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


This e-mail and any attachments to it are confidential and are intended solely 
for use of the individual or entity to whom they are addressed.  If you have 
received this e-mail in error, please notify the sender immediately and then 
delete it.  If you are not the intended recipient, you must not keep, use, 
disclose, copy or distribute this e-mail without the author's prior permission. 
 The views expressed in this e-mail message do not necessarily represent the 
views of Highmark Inc., its subsidiaries, or affiliates.
__________
View the list's information and change your settings at
//www.freelists.org/list/programmingblind

Other related posts: