Report Temp :- vcgencmd measure_temp
Report CPU Temp :- cat /sys/class/thermal/thermal_zone0/temp
Divide by 1000 to get your temp in degrees celcius..
If you need the readout to do it for you :-
cpu=$(</sys/class/thermal/thermal_zone0/temp) echo "$((cpu/1000)) c"