LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   question about ouput of ls -l (https://www.linuxquestions.org/questions/linux-newbie-8/question-about-ouput-of-ls-l-179711/)

Itzac 05-09-2004 04:14 PM

question about ouput of ls -l
 
I just noticed the second column in the output of ls -l and I was wondering what it meant.

Here's an example of what I mean. I'm talking about the significance of the number between the permissions and the owner.

Code:

bash-2.05b# ls -l
total 84
lrwxrwxrwx    1 root    root            5 May  7 16:43 X11 -> X11R6
drwxr-xr-x  10 root    root        4096 Aug 19  2003 X11R6
drwxr-xr-x    2 root    root        16384 May  8 01:10 bin
drwxr-xr-x    2 root    root        4096 Nov 25  1993 dict
drwxr-xr-x  19 root    root        4096 May  9 05:05 doc
drwxr-xr-x    2 root    root        4096 Jul  3  2003 etc
drwxr-xr-x    4 root    root        4096 Feb  6  2003 i386-slackware-linux
drwxr-xr-x  50 root    root        8192 Aug 19  2003 include
drwxr-xr-x    2 root    root        4096 Aug 12  2003 info
drwxr-xr-x  34 root    root        12288 May  9 05:05 lib
drwxr-xr-x    4 root    root        4096 Feb 24  2003 libexec
drwxr-xr-x  14 root    root        4096 May  9 04:54 local
drwxr-xr-x  33 root    root        4096 Jun 15  2003 man
drwxr-xr-x    2 root    daemon      4096 Jul  7  2003 sbin
drwxr-xr-x  41 root    root        4096 May  9 05:05 share
lrwxrwxrwx    1 root    root          10 May  7 16:32 spool -> /var/spool
drwxr-xr-x    4 root    root        4096 Oct  5  2003 src
lrwxrwxrwx    1 root    root            8 May  7 16:32 tmp -> /var/tmp

Confused,

acid_kewpie 05-09-2004 04:18 PM

the documentation for ls clearly states that is the number of hard links


All times are GMT -5. The time now is 05:15 AM.