Re: ls lacking a feature?



"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


.