10 lines
163 B
Bash
10 lines
163 B
Bash
# show only physical drive sizes.
|
|
function df() {
|
|
df --si | sed -e '1p' -e "/^\/dev\//!d"
|
|
}
|
|
|
|
# show combined size in SI.
|
|
function du() {
|
|
du -sh --si -- "${@}"
|
|
}
|