Created
April 4, 2018 10:19
-
-
Save loretoparisi/63b2c8d68c383f7aa48905e0d2fcf162 to your computer and use it in GitHub Desktop.
Ubuntu Disk Left Space and Folders Status
This file contains 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
#!/bin/bash | |
FOLD=$1 || $(pwd) | |
du -d 1 -h $FOLD | |
df -k $FOLD |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment