[EMAIL PROTECTED] wrote:
> 
> I'm not sure if this is raelly a bug, so apologies if this is mistaken.


Not a bug, just a frequently asked question :)

 
> ls -d only outputs ./ rather than a list of directories in ./
> 
> Is this the 'correct' behaviour?


Yes it is.

Sometimes you want to list what's *in* a directory.

Sometimes you just want to list the directory itself,
so that you can see the owner and permissions on the
directory.

Try this:

   ls -l /usr/local
   ls -ld /usr/local

and you'll see what I mean.

 
> Thanks for any help


Thanks for you kind wording of your question.
FYI, you can search http://groups.google.com/
for previous postings of many future questions
you'll have.  I do it all the time.

(Your question came up a few days ago here)

Cheers,
Matthew


 
> Alex
> 
> _______________________________________________
> Bug-fileutils mailing list
> [EMAIL PROTECTED]
> http://mail.gnu.org/mailman/listinfo/bug-fileutils

_______________________________________________
Bug-fileutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-fileutils

Reply via email to