Subject: Re: checking disk size
To: Sam Carleton <sam@linux-info.net>
From: Harry Waddell <waddell@caravan.com>
List: netbsd-help
Date: 12/05/2002 17:05:15
On Thu, 5 Dec 2002 19:53:32 -0500
Sam Carleton <sam@linux-info.net> wrote:

> Folks,
> 
> I am sure there is an easy way to do this, I simply don't know what
> it is...  How do I find out how much disk space a directory and
> it's contents are taking up?  I know about df to check volumes.
> 
> Sam
> 
> 

The du command will give you the number of disk blocks used by a file or dir. 
e.g. the size of directory foo in kilobytes could be obtained by 

du -s -k foo

see man du for more details.

-- 
Harry Waddell
Caravan Electronic Publishing