Skip to content

Instantly share code, notes, and snippets.

/diskinfo.alias.sh

Created May 16, 2015
Embed
What would you like to do?
Nice diskinfo alias showing du, df, btrfs, parted, lsblk
alias diskinfo='echo du && du /* -s -h --exclude=/proc --exclude=/var/lib/*/proc && echo df && df -h && echo btrfs && btrfs filesystem df / && echo parted && parted -l && echo lsblk && lsblk && echo When full, see http://wiert.me/2014/04/09/how-can-a-partition-be-full-if-du-does-not-show-it-is-via-linux-super-user-opensuse-btrfs-snapshots/'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.