Raspberry Pi Read temperature

To read GPU temperature:

echo "GPU $(vcgencmd measure_temp | cut -d= -f 2)"

To read ARM temperature

echo "ARM $(($(</sys/class/thermal/thermal_zone0/temp)/1000))'C"