- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- ll output
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2006 02:04 PM
02-19-2006 02:04 PM
ll output
hpprod:/home/mayub/script :ll -lrt
total 166
-rwxr-x--- 1 mayub faidev 239 Feb 1 10:45 ftp_bdf.sh
-rwxr-x--- 1 mayub faidev 115 Feb 3 13:13 printer_check.sh.back
-rwxr-x--- 1 mayub faidev 184 Feb 3 13:29 printer_check.sh
-rwxr-x--- 1 mayub faidev 344 Feb 3 14:11 printer_name.txt
-rwxr-x--- 1 mayub faidev 146 Feb 15 11:30 mail_bdf_report.sh
-rwxr-x--- 1 mayub faidev 113 Feb 15 11:30 mail_printer_status.sh
-rwxr-x--- 1 mayub faidev 797 Feb 15 12:38 bdf_report.sh
-rwxr----- 1 mayub faidev 372 Feb 16 14:39 information.p
-rwxr-x--- 1 mayub faidev 692 Feb 16 17:09 information
-rw-rw-rw- 1 mayub faidev 66505 Feb 17 14:27 check.txt
drwxr-xrw- 2 mayub faidev 1024 Feb 20 14:03 test
- Tags:
- ls
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2006 02:07 PM
02-19-2006 02:07 PM
Re: ll output
Links:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=441449
Man page:
http://www1.itrc.hp.com/service/james/dispDoc.do?docURL=http%3A%2F%2Fsearch.hp.com%2Fredirect.html%3Furl%3Dhttp%253A%2F%2Fdocs.hp.com%2Fen%2FB2355-60127%2Fls.1.html%26qt%3D%2Bll%2B-lrt%2Boutput%26hit%3D2&aid=SEARCH_MANUAL&pil=3&serStr=ll+-lrt+output
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2006 02:16 PM
02-19-2006 02:16 PM
Re: ll output
Hi,
It is the amount of links or directories within the directory. The default amount of directories is going to always be 2 because of the . and .. directories.
REgards,
Siva.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2006 03:50 PM
02-19-2006 03:50 PM
Re: ll output
this is the number of the Hard links to the file.
see: http://ei.cs.vt.edu/~netinfo/unixintro/unix.html
In case of a directory it is always a minimum of 2. The number of subdirectories adds up to this figure.
Eg. Files will lots of links:
# ll /sbin/vg*
-r-sr-xr-x 31 root sys 851968 Feb 1 2005 /sbin/vgcfgbackup
-r-sr-xr-x 31 root sys 851968 Feb 1 2005 /sbin/vgcfgrestore
-r-sr-xr-x 31 root sys 851968 Feb 1 2005 /sbin/vgchange
-r-sr-xr-x 31 root sys 851968 Feb 1 2005 /sbin/vgchgid
-r-sr-xr-x 31 root sys 851968 Feb 1 2005 /sbin/vgcreate
-r-sr-xr-x 31 root sys 851968 Feb 1 2005 /sbin/vgdisplay
-r-sr-xr-x 31 root sys 851968 Feb 1 2005 /sbin/vgexport
-r-sr-xr-x 31 root sys 851968 Feb 1 2005 /sbin/vgextend
-r-sr-xr-x 31 root sys 851968 Feb 1 2005 /sbin/vgimport
-r-sr-xr-x 31 root sys 851968 Feb 1 2005 /sbin/vgreduce
-r-sr-xr-x 31 root sys 851968 Feb 1 2005 /sbin/vgremove
-r-sr-xr-x 31 root sys 851968 Feb 1 2005 /sbin/vgscan
-r-sr-xr-x 31 root sys 851968 Feb 1 2005 /sbin/vgsync
here 31 meaning we have 31 hard links to the files.
Note that soft links are not considered when calculating this figure.
e.g.
# ln -s /sbin/vgsync /tmp/a
# ll /sbin/vgsync
-r-sr-xr-x 31 root sys 851968 Feb 1 2005 /sbin/vgsync
hope this helps too!
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2006 04:39 PM
02-19-2006 04:39 PM
Re: ll output
Number of links:
If we create a file with soft or hard link then second field will be changed to 2 for the files. And put as same to the directory.
Number of files or elements:
If a directory is having only 2 files then it is having 4 as link count of,
.
..
2 files.
It is incremented based on files or directories or special files availablity in a directory.
--
Muthu