df : print only dev filesystems.

This commit is contained in:
Dmitry Voronin 2023-11-08 15:59:00 +03:00
parent 00b1d5e5ca
commit bd7badeeb2

View file

@ -1,5 +1,5 @@
# show only physical drive sizes.
alias df='df --si | sed -e "/^tmpfs/d" -e "/^udev/d" -e "/\.Private/d" -e "/^overlay/d" -e "/^shm/d" -e "/^devtmpfs/d"'
alias df='df --si | sed -e '1p' -e "/^\/dev\//!d"'
# show combined size in SI.
alias du="du -sh --si"