cancel
Showing results for 
Search instead for 
Did you mean: 

ll output information

laiju.c.babu
Regular Advisor

ll output information

can any body explain what is the second field in ll output

-rw-r--r-- " 1 " root sys 4842 Mar 15 18:09 view5709.log


what is this 1 specifies....

Thanks in Adv,
Laiju
Laiju.C.Babu
5 REPLIES
Bijeesh
Respected Contributor

Re: ll output information

Hi,
I think it is the no:of link files.The number 1 indicating that the file is linked to itself.
SoorajCleris
Honored Contributor

Re: ll output information

Hi,

If its a directory, Number of directory inside the directory including . and .. ( by default 2)


If its a file, number of links to the file.


Regards,
Sooraj
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity" - Dennis Ritchie
laiju.c.babu
Regular Advisor

Re: ll output information

Thanks a lot sooraj
Laiju.C.Babu
Kranti Mahmud
Honored Contributor

Re: ll output information

Hi Laiju,

ll is equivalent to ls-l

ll describes: List in long format, giving mode, number of links, owner, group, size in bytes, and time of last modification for each file (see further DESCRIPTION and Access Control Lists below). If the time of last modification is greater than six months ago, or any time in the future, the year is substituted for the hour and minute of the modification time. If the file is a special file, the size field contains the major and minor device numbers rather than a size. If the file is a symbolic link, the filename is printed, followed by -> and the pathname of the referenced file.

ref: http://docs.hp.com/en/B2355-60127/ls.1.html

BTW, u should assign point if you get the answer of your question.

Rgds-Kranti
Dont look BACK as U will miss something INFRONT!
SoorajCleris
Honored Contributor

Re: ll output information

https://forums13.itrc.hp.com/service/forums/helptips.do?#22

:)

"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity" - Dennis Ritchie