Get Raspberry Pi CPU + GPU temperature with mini script: ------------------------------------------------------ This will create a program to show current CPU and GPU temperatures of the Raspberry Pi 4. You will have needed to have the vcgencmd program all ready working in order for this to work. Create the file with "sudo nano /usr/bin/temp" Then in the file input this code: ---------------------------------- #!/bin/bash # Script: temp # Purpose: Display the ARM CPU and GPU temperature of Raspberry Pi 4 # Original Author: Vivek Gite under GPL v2.x+ # Updated Author: Branden (Personal use only). cpu=$( $(vcgencmd measure_temp)" ------------------------------------- save the file then make it executable by: sudo chmod +x /usr/bin/temp ----------------------------------------------------------------- Source: https://www.cyberciti.biz/faq/linux-find-out-raspberry-pi-gpu-and-arm-cpu-temperature-command/ Date: April 29th, 2021