Last active
October 15, 2016 14:34
-
-
Save armand1m/b0bd8064bc6ebbffa49670bda61f3f9e to your computer and use it in GitHub Desktop.
terminal disk usage panel
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# when there is no watch command | |
while [ 0 -lt 10 ]; do clear; df -h; sleep 1; done | |
# if watch is available | |
watch -n 1 df -h |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
i didn't know about the
watch
command back when I did it :pis a better version, I think so.