09-17-2015, 04:14 AM
Not sure how we can improve on this, needs more research. Try:
Bytes:
MB:
See what happens to the total bytes when they get converted to MB.
Bytes:
Code:
jerry@z800:~$ df | grep '^/dev/[hs]d' | awk '{s+=$2} END {print s}'
2408682717
MB:
Code:
jerry@z800:~$ df | grep '^/dev/[hs]d' | awk '{s+=$2} END {print s/1048576}'
2297.1
jerry@z800:~$
See what happens to the total bytes when they get converted to MB.
Download your free copy of Linux Lite today.
Jerry Bezencon
Linux Lite Creator
"Do not correct a fool, or he will hate you; correct a wise man and he will appreciate you."
![[Image: X5qGkCg.png]](https://imgur.com/X5qGkCg.png)
![[Image: lrUHro3.jpg]](https://i.imgur.com/lrUHro3.jpg)
Jerry Bezencon
Linux Lite Creator
"Do not correct a fool, or he will hate you; correct a wise man and he will appreciate you."
![[Image: X5qGkCg.png]](https://imgur.com/X5qGkCg.png)
![[Image: 0op1GNe.png]](https://i.imgur.com/0op1GNe.png)
![[Image: LgJ2mtP.png]](https://i.imgur.com/LgJ2mtP.png)
![[Image: vLZcFUE.png]](https://imgur.com/vLZcFUE.png)
![[Image: lrUHro3.jpg]](https://i.imgur.com/lrUHro3.jpg)