On Sat, Oct 16, 2010 at 12:58 AM, Sharad Birmiwal
<[email protected]> wrote:
>>> If you know better command let me know
>>>
>>
>> du -sh <directory>
>
> Yes, I was going to suggest "du -s <directory>" as well. A side note:
> du returns the size of the blocks occupied by that directory and is
> NOT equal to the sum of the file sizes in that directory.
>
Hmm really?
The manual page doesn't say that:
NAME
du - estimate file space usage
SYNOPSIS
du [OPTION]... [FILE]...
du [OPTION]... --files0-from=F
DESCRIPTION
Summarize disk usage of each FILE, recursively for directories.
<snip>
--
Regards,
Nilesh Govindarajan
Facebook: http://www.facebook.com/nilesh.gr
Twitter: http://twitter.com/nileshgr
Website: http://www.itech7.com
VPS Hosting: http://www.itech7.com/a/vps
--
l...@iitd - http://tinyurl.com/ycueutm