bug-fileutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: is this an ls bug?


From: Matt Schalit
Subject: Re: is this an ls bug?
Date: Mon, 28 May 2001 22:02:26 -0700

address@hidden 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
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bug-fileutils



reply via email to

[Prev in Thread] Current Thread [Next in Thread]