thanks, ill try this one..

 Anuerin Diaz <[EMAIL PROTECTED]> wrote:


A LOST tip has been sent a few days to the _newbie_ list *hint,hint*
regarding this... Quoting that

####[ GNU/Linux One Stanza Tip (LOST) ]#######################

Sub : Directories-Only ls LOST #023

To get the ls of directories only without a listing of files
in that directory: '$ls -d */' .... if you are on bash shell.
You may alias a command ( alias lsd='ls -d */' ) and place it
in your .profile or the sytem /etc/profile ...

####<[EMAIL PROTECTED]>####################################

courtesy of marc.free.net.ph ->
http://marc.free.net.ph/message/E18K2uI-00007e-00%40tasyo.html
And you might want to check this out ->
http://plug.linux.org.ph/lists.html

ciao!




-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
On Behalf Of digest_
Sent: 12. joulukuuta 2002 13:43
To: [EMAIL PROTECTED]
Subject: [plug] list dir


how do you list the directories in linux using ls?

`ls -d` returns '.'




Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now

_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

Fully Searchable Archives With Friendly Web Interface at http://marc.free.net.ph

To subscribe to the Linux Newbies' List: send "subscribe" in the body to [EMAIL PROTECTED]



Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now

Reply via email to