var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: How to list only directories
I had a basic question on Unix.
I know in DOS, one could use dir /ad to list only directories in a given path.
I wanted to know what is the equivalent command in UNIX for the same.
find . -type d
ls -d ./ * show even the files
Re: Your response
I don't know if there is a command option to do it , but you can do
ls -l | grep ^d
Visit the new-look IDUG Website
, register to gain access to the excellent content.
That command really did the job.
I have the command in one of the postits, before I get handy.
Thanx and Regards