1851636 Members
5727 Online
104061 Solutions
New Discussion

Re: du -sk

 
SOLVED
Go to solution
Prashanth Waugh
Esteemed Contributor

du -sk

HI
suppose i m using the command like
du -kx /home | sort -nr | more
here the output will be interms of KB or byte

Thanks
For success, attitude is equally as important as ability
4 REPLIES 4
Robert-Jan Goossens_1
Honored Contributor

Re: du -sk

Hi,

man du
--
-k Gives the block count in 1024-byte blocks.
--
Regards,
Robert-Jan
Tim Nelson
Honored Contributor
Solution

Re: du -sk

-k is for KB

check out the man page for du
Prashanth Waugh
Esteemed Contributor

Re: du -sk

thanks all.
For success, attitude is equally as important as ability
Steven Schweda
Honored Contributor

Re: du -sk

I'm curious. If "man du" didn't explain it
well enough, how hard would it be to run a
test on a file of known size?