Created
December 12, 2019 21:23
-
-
Save nhtzr/6b18867d22bb2c147263073defae4771 to your computer and use it in GitHub Desktop.
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
my-df() { | |
df -h | | |
awk '$NF != "/" && NR > 1 {print $NF}' | | |
xargs -I{} echo --exclude {} | | |
sudo xargs du / -h \ | |
--exclude /sys \ | |
--exclude /proc | | |
tee du.out | | |
sort -h | | |
less | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment