|
|||||||
| Forums | Search Forums | Register | Forum Rules | Man Pages | Albums | FAQ | Members | Calendar | Search | Today's Posts | Mark Forums Read |
| 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 !! |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
**HELP** how to do a listing of dirs and all sub dirs only
I am trying to get a listing of ALL directories only under /export (as an example). I can get all the dirs directly under /export but I need any sub dirs under those dirs. I've looked (here and google) but can not find anything that works
|
| Sponsored Links | ||
|
|
#2
|
||||
|
||||
|
Code:
find /export -type d |
| Sponsored Links | ||
|
|
#3
|
|||
|
|||
|
awesome, thanks!
|
|
#4
|
|||
|
|||
|
UNIX tools are flexible enough that you aren't likely to find canned solutions by googling "how do I do x with y". Learning some basic shell programming and shell commands would be a good start since you can do a lot with a little.
|
| Sponsored Links | |
|
|
#5
|
|||
|
|||
|
Code:
#ls -laR /export | grep ^d |
| Sponsored Links | ||
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Move directory + sub dirs | AriStar | UNIX for Dummies Questions & Answers | 1 | 09-21-2009 09:29 AM |
| monitoring dirs | da-seot | Shell Programming and Scripting | 1 | 09-03-2007 02:55 AM |
| how to synchronize different dirs | reldb | Shell Programming and Scripting | 1 | 12-09-2006 07:08 PM |
| Combining Two Dirs | Phobos | UNIX for Dummies Questions & Answers | 2 | 01-26-2005 08:13 PM |
| dirs & colors | tk876 | UNIX for Dummies Questions & Answers | 4 | 07-17-2001 12:03 AM |
|
|