![]() |
|
|
|
|
|||||||
| 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 |
| Best way to list a directory's contents? | bbilheimer | UNIX for Dummies Questions & Answers | 6 | 02-05-2008 07:05 AM |
| SED To insert Directory Contents to file | NomDeGuerre | Shell Programming and Scripting | 3 | 03-12-2007 09:41 PM |
| Remove contents of directory, but not directory | pdc | Shell Programming and Scripting | 8 | 12-04-2005 10:57 AM |
| Message trying to list contents of directory | sallender | UNIX for Dummies Questions & Answers | 1 | 10-19-2005 05:22 AM |
| Unable to view contents of a directory | maddave | UNIX for Dummies Questions & Answers | 13 | 10-24-2001 10:50 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
I want to list the contents of a directory, but I do not want to use the ls, is there another way??
|
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
find
that will give you the contents of the subdirectories as well, is that OK? |
|
#3
|
|||
|
|||
|
Code:
$ echo * |
|
#4
|
|||
|
|||
|
Quote:
Code:
find -maxdepth 1 |
|||
| Google The UNIX and Linux Forums |