10-19-2014, 06:03 PM
It looks OK.
add \B to the end of the variable so it will display as 63GB
That's simpler than using sed.
add \B to the end of the variable so it will display as 63GB
Code:
$home_size\B
Code:
echo $home_size | sed 's/$/B/'