How can I get the current disk usage (in %) of my hard drive from the command line?
By using the
Here's an example output:
$ df Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda1 303537496 27537816 260580948 10% / none 950788 252 950536 1% /dev none 959516 232 959284 1% /dev/shm none 959516 388 959128 1% /var/run none 959516 0 959516 0% /var/lock
Also take a look at its manpage.
protected by N0rbert Jan 28 at 20:56
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?