Modify command to display disk space used

This commit is contained in:
adrien 2021-04-07 19:28:01 +02:00
parent 2a6ea4d843
commit 85efc92f61

View File

@ -20,8 +20,8 @@ kernelver() {
}
home() {
# disk=$(df -h | awk 'NR==9{print $3, $5}')
home=$(df -h | awk 'NR==9{print $3}')
# disk=$(df -h | awk 'NR==8{print $3, $5}')
home=$(df -h | awk 'NR==8{print $3}')
echo -e "/home: $home"
}