JF wrote the following:
>
>
> Hi,
>
> Can anyone demystify for me how to get a listing of directories _only_
> with ls ?
>
> I've tried various combinations of parameters in addition to the -d and
> can't seem to get it.
Off the top of my head: ls -d */
> Also what does "recursive" mean in this instance? -R I figure it means
> listing subdirs but it doesn't seem to work quite that way.
It means list the subdirs, and the subdirs subdirs anbd the subdirs, subdirs
subdirs and so on. It's more orf a programming statement really as this
is generally done by a function which calls itself until it's done displaying
the directory structure (ie it recusrses).
Gee. Now wasn't that a butt ugly explenation? :)
--
CaT ([EMAIL PROTECTED]) URL: http://www.zip.com.au/dev/null
An electricity provider of New Hampshire, US has advised it's customers
that in the event of a power failure they can log on to its website for
more information... - Paraphrased from the New Scientist, Feb 6, 1999