Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ls noob question. [Solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Sedrik
l33t
l33t


Joined: 08 Apr 2005
Posts: 655
Location: Uppsala, Sweden

PostPosted: Mon Oct 09, 2006 10:55 pm    Post subject: ls noob question. [Solved] Reply with quote

I'm working on a OS course in school and we currently are investigating how ls works with listing directory and stuff (since we will implement our own OS in the end of the course) anyway one of the questions we have to answer is what does the number after Total mean when you type ls -l? We have read the man page but it is humoungus :( Can't find where the information is stored.
By doing man ls | grep Total we are on the track that it is the Total number of blocks occupied by the files currently listed. is that assumption correct?

Thanks for the help.
_________________
From Gentoo with love


Last edited by Sedrik on Tue Oct 10, 2006 10:53 am; edited 1 time in total
Back to top
View user's profile Send private message
yoshi314
l33t
l33t


Joined: 30 Dec 2004
Posts: 850
Location: PL

PostPosted: Mon Oct 09, 2006 11:00 pm    Post subject: Reply with quote

just look for "-l" in the ls manpage .

total stands for total blocks, which represents total space occupied by files from that dir counted in 1024 byte blocks by default.

btw is "ls" an unsupported software? :D
_________________
~amd64
shrink your /usr/portage with squashfs+aufs
Back to top
View user's profile Send private message
Sedrik
l33t
l33t


Joined: 08 Apr 2005
Posts: 655
Location: Uppsala, Sweden

PostPosted: Mon Oct 09, 2006 11:10 pm    Post subject: Reply with quote

thanks :) We checked -l but must have missed it.

Hmm maybe not, didn't know where to ask ^^
_________________
From Gentoo with love
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum