Re: ls lacking a feature?
- From: Mark P <usenet@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 28 Jun 2006 22:37:53 GMT
William wrote:
"Bernard Liang" <b_liang@xxxxxxxxxxxx> wrote in message
news:e7usv4$29o5$1@xxxxxxxxxxxxxxxxxxxxx
how does one perform the equivalent MS-DOS's "dir /a:d" (directory
listing) in *ix (say, linux)?
One possibility:
find * -type d -prune
Without the -prune it will show subdirectories too.
-Wm
Another option: -maxdepth 1
.
- Follow-Ups:
- Re: ls lacking a feature?
- From: William
- Re: ls lacking a feature?
- References:
- ls lacking a feature?
- From: Bernard Liang
- Re: ls lacking a feature?
- From: William
- ls lacking a feature?
- Prev by Date: Re: ls lacking a feature?
- Next by Date: Re: Deleting substrings
- Previous by thread: Re: ls lacking a feature?
- Next by thread: Re: ls lacking a feature?
- Index(es):
Relevant Pages
|