I have a disk mounted on /dev/xxx. If I use only df, it returns this:
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/xxx 125829120 43861888 81967232 35% /
devtmpfs 4194304 0 4194304 0% /dev
...
I need to get only:
a) number of 1K-blocks
b) used space
How to do that?
/dev/xxx. You have/dev/xxxmounted on/. – Kusalananda Apr 18 '20 at 22:45