[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: ls -l output



>>>>> "sanjay" == sanjay singh <linux@xxxxxxxxxxxxx> writes:

    sanjay> but, I am talking about the output displayed for the
    sanjay> directory ls -ld q

    sanjay> drwxr-xr-x 12 root root 18432 Apr 16 19:34 q

The '12' means that there are 12 entities which have an entry for q.
Since each directory has a '.' and '..' entry, we have:

1 entry that comes from the parent directory of q.
1 entry that comes from q itself (because it contains '.')
and thus, there are 10 subdirectories in q (they all contain '..')

Hope I made it clear.

-- 
Cricket scoreboard for linux 
For more info, visit http://scoreboard.sourceforge.net