View Single Post
Posts: 2,154 | Thanked: 8,464 times | Joined on May 2010
#756
Originally Posted by iscio View Post
is it possible to add °C to
echo $(cat /sys/class/power_supply/bq27200-0/temp) | awk '{ print $1/10}'
I am not able to to this
Code:
echo $(cat /sys/class/power_supply/bq27200-0/temp) | awk '{ print $1/10, "°C"}'