Subscribe via RSS

Social

www.flickr.com
This is a Flickr badge showing public photos and videos from kalel71. Make your own badge here.
Clicking on these helps me out

Search Site
Hobby Photography
Twitter
Amazon Stuff

« Evernote | Main | Tilt-shift Fun »
Monday
May182009

Linux Command line Tip: Directory Sizes

Some basic BASH shell commands for gathering directory size information.

  • du -h - Shows all directories sizes including sub directories
  • du -sh * - Show all the 1 level sub directories size
  • du -sh - Calculate current directory size you are in
  • du -sh /etc - Size of specific directory
  • df -h - Show overall mounted volume disk space usage

These work in OSX's terminal as well.

PrintView Printer Friendly Version

EmailEmail Article to Friend

Reader Comments

There are no comments for this journal entry. To create a new comment, use the form below.

PostPost a New Comment

Enter your information below to add a new comment.

My response is on my own website »
Author Email (optional):
Author URL (optional):
Post:
 
Some HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>