First Login into your pi via local terminal or remote ssh terminal.
Me I’m gonna use Putty to access my Pi.
Next you need to install BC which most linux editions have yet the Raspberry does not.
#sudo apt-get install bc
*TIP* – To stay as root without having to sudo everytime use the command
This should show when it’s installed
Next we need to download the Temp Check Script. I keep a copy in the Windows Linux Commands Dropbox Folder under the Scripts folder, as these files work fine for me.
To do this we need to type the following:
This will download the file to your raspberry pi.
Once downloaded all we have to do is run it and it should show us the current temperature of your Raspberry Pi (R-Pi)
To run the script type the following command:
and you should get this the current temperature of your Raspberry Pi:
Thanks for reading please comment below if you don’t understand anything.