ls -l is not behaving as I expect
Nils Kassube
kassube at gmx.net
Thu Feb 3 07:24:14 UTC 2011
Tapas Mishra wrote:
> It is a very silly thing but I now have to ask there is a folder
> which is not having any directories but when I do an ls -l from its
> parent directory
> I just see following
> ls -l www/claroline/
> total 0
>
> I expect a long format to be displayed for permissions with respect
> to this directory why is that not happening.
From "man ls":
| NAME
| ls - list directory contents
You asked ls to list the contents of the directory www/claroline/ which
it did. If you want to list the entry for that directory, try "ls -ld
www/claroline/" instead.
Nils
More information about the ubuntu-users
mailing list