Answers for "how to get the temp of cpu in linux terminal raspberry pi"

1

how to get the temp of cpu in linux terminal raspberry pi

cpu=$(</sys/class/thermal/thermal_zone0/temp)
echo "$((cpu/1000)) c"
Posted by: Guest on October-08-2020

Code answers related to "how to get the temp of cpu in linux terminal raspberry pi"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language