Ubuntu Raspberry CPU and GPU temperature
CPU
cat /sys/class/thermal/thermal_zone0/temp 56920
Divide by 1000 to have the temperature
echo "$((`</sys/class/thermal/thermal_zone0/temp`/1000)) c" 56 c
GPU
vcgencmd measure_temp temp=55.8'C
References
Daniel Simao (talk) 21:04, 30 July 2018 (EDT)