The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Listing files with full path r_sethu UNIX for Dummies Questions & Answers 5 06-15-2009 02:56 AM
Sorting Directory Listing Sepia UNIX for Dummies Questions & Answers 1 07-11-2007 07:44 AM
How can i get directory listing? haisubbu UNIX for Dummies Questions & Answers 2 08-25-2006 09:03 AM
Timestamp in directory listing vijashok UNIX for Dummies Questions & Answers 2 10-06-2005 10:03 AM
Recursive directory listing without listing files psingh UNIX for Dummies Questions & Answers 4 05-10-2002 10:52 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 05-11-2006
B14speedfreak B14speedfreak is offline
Registered User
  
 

Join Date: Mar 2006
Posts: 55
Full Directory Listing...

Is there a way of listing everything under a directory.

So for example if you wanted to know everything under the USR directory you would get all the sub directories and files in those directories as well as the file directly under the USR directory. I would imagine that you could do this using an ls - a switch.

Anyone any ideas?

Thanks for reading,

Mark
  #2 (permalink)  
Old 05-11-2006
ranj@chn ranj@chn is offline Forum Advisor  
Playing with Ubuntu Now!
  
 

Join Date: Oct 2005
Location: Chennai
Posts: 365
you mean recursive listing

Recursive listing option is -R
ls -R
  #3 (permalink)  
Old 05-11-2006
B14speedfreak B14speedfreak is offline
Registered User
  
 

Join Date: Mar 2006
Posts: 55
That brill thanks...
  #4 (permalink)  
Old 05-11-2006
B14speedfreak B14speedfreak is offline
Registered User
  
 

Join Date: Mar 2006
Posts: 55
Is there any way of showing that paths of the files/directories as well?
  #5 (permalink)  
Old 05-11-2006
felchqueen felchqueen is offline
Registered User
  
 

Join Date: May 2006
Posts: 1
You could try

find /usr -name "*" -exec ls -l {} \;

where /usr is the area you wish to search, use ./ to everything below the directory you are in.
  #6 (permalink)  
Old 05-11-2006
B14speedfreak B14speedfreak is offline
Registered User
  
 

Join Date: Mar 2006
Posts: 55
Thanks that works well...
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 01:15 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0