How to check disk usage in Terminal
Though I mainly use OS X, I am very found of using the Termnial for many tasks.
Amongst those task is to check disk usage and I am often ask how one does that, so here we go.
Command:
The command for checking disk usages is:
df
Which simply gives you this:
Which is almost useless to people who are not nerdy enough.
df -h
By being at little crafty there is a flag, to the df
and that is df -h
, the -h gives you a human readable layout.
This also works on Linux, BSD and Solaris.
Ingen kommentarer:
Send en kommentar