This repository has been archived on 2024-03-04. You can view files and clone it, but cannot push or open issues or pull requests.
linux/.config/bash/module/disk.sh

6 lines
137 B
Bash
Raw Normal View History

2023-08-08 16:24:15 +03:00
# show only physical drive sizes.
2023-11-08 15:59:00 +03:00
alias df='df --si | sed -e '1p' -e "/^\/dev\//!d"'
2023-08-08 16:24:15 +03:00
# show combined size in SI.
alias du="du -sh --si"