- Posts: 17
- Thank you received: 0
ls command
20 years 3 months ago #4833
by steveb12
ls command was created by steveb12
Hey guys. This is in reference to the ls -l command output. Can someone tell me what the the line total # means?
Example:
$ls -l
total 4
drwxr-xr-x 2 username group 4096 Sep 2 19:25 temp2
Thanks!
Example:
$ls -l
total 4
drwxr-xr-x 2 username group 4096 Sep 2 19:25 temp2
Thanks!
- The_Berzerker
- Offline
- Premium Member
Less
More
- Posts: 318
- Thank you received: 0
20 years 3 months ago #4843
by The_Berzerker
Replied by The_Berzerker on topic Re: ls command
<total 4> refers to the amount of blocks used by the files on the hard drive. Each block is usually either 512 or 1024 characters.
20 years 3 months ago #4858
by sahirh
Sahir Hidayatullah.
Firewall.cx Staff - Associate Editor & Security Advisor
tftfotw.blogspot.com
Replied by sahirh on topic Re: ls command
Now theres something I didn't know
Sahir Hidayatullah.
Firewall.cx Staff - Associate Editor & Security Advisor
tftfotw.blogspot.com
20 years 3 months ago #4914
by Chris
Chris Partsenidis.
Founder & Editor-in-Chief
www.Firewall.cx
Replied by Chris on topic Re: ls command
Now there's something that has been taunting me for a long time ....Berzerker, thanks for the answer!
Chris Partsenidis.
Founder & Editor-in-Chief
www.Firewall.cx
- The_Berzerker
- Offline
- Premium Member
Less
More
- Posts: 318
- Thank you received: 0
20 years 3 months ago #4931
by The_Berzerker
Replied by The_Berzerker on topic Re: ls command
Welcome... The info was taken from the book "Unix Programming Environment" written by Brian W. Kernighan and Rob Pike (translated in Greek ).
It's a good book for reference...
It's a good book for reference...
Time to create page: 0.139 seconds