df : print only dev filesystems.
This commit is contained in:
parent
00b1d5e5ca
commit
bd7badeeb2
|
@ -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"
|
||||
|
|
Reference in a new issue