Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!batcomputer!rpi!rpi.edu!lawrence From: lawrence@its.rpi.edu (David Lawrence) Newsgroups: comp.unix.questions Subject: Re: type discriminating directory listing Message-ID: Date: 8 May 89 05:03:57 GMT References: <1529@cmx.npac.syr.edu> Sender: usenet@rpi.edu Reply-To: tale@pawl.rpi.edu Lines: 12 In-reply-to: gefuchs@skolem.uucp's message of 7 May 89 20:47:16 GMT In article <1529@cmx.npac.syr.edu> gefuchs@skolem.uucp (Gill E. Fuchs) writes: GEF> what would be the command for getting a partial directory listings GEF> of only the subdirectories and symbolic-links ? % ls -al | egrep '^[ld]' It isn't the best as far as being stuck with the long format of ls, but it does the job. Dave -- tale@rpitsmts.bitnet, tale%mts@itsgw.rpi.edu, tale@pawl.rpi.edu