du handiness.

Written by Ren West on August 30th, 2004

I use ‘du’ often to see what directories are using up all the space. Often, this gets annoying as it delves down in to several thousand directory trees, so I use the following to keep it limited:

du -h –max-depth=1

This will spit out, in human readable format, the size of each of the directories in the current directory, limiting the output to one directory. Try it to see what I mean.

Share and Enjoy:
  • Digg
  • Facebook
  • del.icio.us
  • Reddit
  • email
  • StumbleUpon
  • Google Bookmarks
 

Comments are closed.

Page optimized by WP Minify WordPress Plugin