![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | 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 | Thread Starter | Forum | Replies | Last Post |
| Want to Get List of All directories | niceboykunal123 | Shell Programming and Scripting | 6 | 05-06-2008 11:58 AM |
| how to list directories only | yodadbl07 | UNIX for Dummies Questions & Answers | 3 | 04-26-2006 01:48 AM |
| How to list only directories? | videsh77 | UNIX for Dummies Questions & Answers | 4 | 01-09-2006 07:10 AM |
| Getting present working directory | winsonlee | High Level Programming | 0 | 08-07-2004 07:32 AM |
| list file's by size order in sepecfied directory and sub directories | ferretman | UNIX for Dummies Questions & Answers | 2 | 01-03-2002 04:55 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
How one can list only the name of directories present in the directory by using ls co
How one can list only the name of directories present in the directory by using ls command.
|
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
use the -l switch and then use some sort of text filter on stdout for a common referance for directories in each string.
Last edited by Optimus_P; 01-30-2004 at 10:23 AM. |
|
#3
|
||||
|
||||
|
I posted the solution, but in light of this maybe being homework, read the man page for "ls" ... the answer's there.
http://unixhelp.ed.ac.uk/CGI/man-cgi?ls |
||||
| Google The UNIX and Linux Forums |