Created
April 17, 2020 02:40
-
-
Save void285/0305b6838b9f4aa315fbd043175b30a4 to your computer and use it in GitHub Desktop.
Get Used Space Rate of Root
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
used=$(df | grep "% /$" | awk '{print $5}' | sed 's/%//g') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment