7 lines
135 B
Plaintext
7 lines
135 B
Plaintext
|
#!/bin/bash
|
||
|
|
||
|
used=$(df -h / | sed -n '1!p' | cut -d' ' -f22)
|
||
|
total=$(df -h / | sed -n '1!p' | cut -d' ' -f16)
|
||
|
|
||
|
echo " $used/$total"
|