[Techtalk] Need tool to find where 400 mb of stuff is hidden

Katie Bechtold katie at hoteldetective.org
Sat Feb 4 11:47:04 EST 2006


On Fri, Feb 03, 2006 at 04:22:02PM -0800, Lucky Lady wrote:
> I need to find out which of my many sub directories in
> /var contain over 400 mb of stuff. I want a tool that
> will automatically tell me the space used in each sub
> directory in /var. 

The 'du' disk usage command fits the bill:
 # du /var
Or, to order the subdirectories by size:
 # du /var | sort -n

You'll probably want to refer to the 'du' man page for information
on what units of disk space it's reporting.

-- 
Katie Bechtold         http://hoteldetective.org/




More information about the Techtalk mailing list