LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 05-09-2004, 05:14 PM   #1
Itzac
Member
 
Registered: Feb 2003
Distribution: VectorLinux 5.1
Posts: 116

Rep: Reputation: 15
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,
 
Old 05-09-2004, 05:18 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
the documentation for ls clearly states that is the number of hard links
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Question, Apples Contribution to Open Source + MacOs file structure question Higgy3k Other *NIX 5 07-25-2005 05:23 AM
ALSA Help: Single Channel Headphone Ouput Inchoate Linux - Hardware 0 10-20-2004 01:04 PM
java compiler+error ouput language bai_design Programming 0 10-06-2004 08:41 PM
Speaker problem, digital ouput. Zeth_htp Linux - Hardware 4 01-04-2004 05:25 PM
SAR Ouput Question te_conway Linux - General 10 01-26-2003 10:29 AM


All times are GMT -5. The time now is 01:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration