summaryrefslogtreecommitdiff
path: root/sb-hdspace
blob: 2a90d34ffde22ba6f6a0939f586f159590c092dd (plain)
1
2
3
4
5
6
7
#!/bin/sh

#         row from df-h input v
hd_space="$(df -h | awk '(NR==4){print $4}')"
#              column from df -h output ^

echo "$hd_space"