On Tue, 18 Nov 2003 at 16:41 GMT, Tom penned:
> On Tue, Nov 18, 2003 at 10:32:27AM -0600, Lynn W wrote:
>> I know this must be a silly question, but I have tried looking at the
>> man and the --help and could not find it:
>> 
>> How does one use the ls command to display just the directories'
>> names, and suppress those which are not directories? In MS-DOS, it
>> was dir /ad
>> 
>> Doing ls -ld * does not do it as it only displays the files in the
>> current directory.
>> 
>> Thanks!  Lynn
>> 
> 
> I use "find -type f" for that.
> 
> 

I think you mean 'find . -type d' ?

-- 
monique
PLEASE don't CC me.  Please.  Pretty please with sugar on top.
Whatever it takes, just don't CC me!  I'm already subscribed!!


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to