Use df on command-line to check remaining disk space in *NIX and Mac OS X
Submitted by jeff on Mon, 2007-07-02 19:05.
To know how much remaining hard disk space you have on your various partitions from the command line.
df -h (human readable)
It has always irked me that "ls" does not show space remaining the way "dir" does in DOS/Windows
login to post comments
Nuts!
My ISP crashed and consequently went out of business. I have moved my blog. For new articles visit blog.infoentropy.com
tags in Articles
User login
Other blogs
Recent blog posts
- Step-by-step to build a facebook app with CakePHP
- Enabling CakePHP 1.1 on Lighttpd 1.5
- Install and configure PHP5 and lighttpd on mac os x 10.4
- lighttpd as a startup item on os x
- Mac tips for Unix users
- Moving your cursor in a terminal with bash shell (Mac OS X, and Ubuntu Linux compatible)
- linux user management commands
- Setup LigHTTPD virtual hosting by hand
- Reload your hosts file in Mac
- Using MochiKit doXHR
I like df -lh
df -lhGives you a more concise display of the available disk space you have.