10-19-2014, 09:30 PM
(10-19-2014, 06:03 PM)misko_2083 link Wrote: It looks OK.![]()
add \B to the end of the variable so it will display as 63GB
That's simpler than using sed.Code:$home_size\B
Code:echo $home_size | sed 's/$/B/'
Fixed

(10-19-2014, 07:44 PM)Scott(0) link Wrote: @Valtam
Looking good! 8)
Cheers

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)