Can ls be made to only list directories?
Rouben Rostamian
rouben at math9.math.umbc.edu
Sat Sep 1 08:34:30 AEST 1990
In article <90243.151817SML108 at psuvm.psu.edu> SML108 at psuvm.psu.edu (Scott the Great) writes:
>As the subject asks, is there a set of options which will limit
>ls to listing directories?
>
I use the following on an ultrix machine:
alias lsd '/bin/ls -aF | grep /$ | xargs /bin/ls -Cd'
It may require minor modifications to run on other machines.
--
Rouben Rostamian Telephone: (301) 455-2458
Department of Mathematics and Statistics e-mail:
University of Maryland Baltimore County rostamian at umbc.bitnet
Baltimore, MD 21228, U.S.A. rostamian at umbc3.umbc.edu
More information about the Comp.unix.questions
mailing list