Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!agate!shelby!csli!gandalf From: gandalf@csli.Stanford.EDU (Juergen Wagner) Newsgroups: comp.unix.questions Subject: Re: type discriminating directory listing Keywords: ls, subdirectories, symbolic-links Message-ID: <8899@csli.Stanford.EDU> Date: 10 May 89 02:02:06 GMT References: <1529@cmx.npac.syr.edu> Sender: gandalf@csli.Stanford.EDU (Juergen Wagner) Reply-To: gandalf@csli.stanford.edu (Juergen Wagner) Organization: Center for the Study of Language and Information, Stanford U. Lines: 13 In article <1529@cmx.npac.syr.edu> gefuchs@logiclab.cis.syr.edu (Gill E. Fuchs) writes: >what would be the command for getting a partial directory listings >of only the subdirectories and symbolic-links ? This isn't really a deficiency of UNIX. It is more the lack of a more powerful "ls" command what is bothering you. Solutions to this exist, e.g.: ls -l `find . \( -name . -o -prune \) -a \( -type d -o -type l \) -print` or ls -l | grep "[ld]" -- Juergen Wagner gandalf@csli.stanford.edu wagner@arisia.xerox.com