Message Board -  Archive

[ Login ] [ Create Account ]
[ Board List ] [ View Board ] [ Post Reply ]
  Author  Subject: simple silly question about ls

Posted on 07-18-2004 05:28 p.m. ET  reply

Original Poster: andy tompkins

kind madam or sir:

what is the equivalent command of the DOS 'c:dir /d'? Sounds simple enough,
doesn't it? I just want to list directory entries that are themselves
directories...! I haven't found the secret to that anywhere yet in my Linux
books. Must not have the right books...

And here's another one, while we're at it...

What is the syntax for listing all files in my current working directory and
all subdirectories underneath my current one that fit a particular pattern?
In DOS that would be, for example, 'c:mydirdir art??.* /s' to find c:
mydirart.doc, c:mydirsubdirart.cpp, etc.

Thanks so much!

andy t

< Previous 1 Next >

Site Contents