How to find out Raspberry Pi GPU and ARM CPU temperature on Linux

Originally published at:

I am using a Raspberry PI 2/3 credit size computer. How do I find out my GPU or ARM CPU temperature from Linux operating system command line option?

I am having “sensors” alias like this. i am having following line in ~/.bashrc file:

alias sensors="echo CPU: $(cat /sys/class/thermal/thermal_zone0/temp|cut -b -2)°C"

So on next login session when i type sensors command, it return CPU temperature in °C.