Created
January 2, 2019 23:08
-
-
Save RagingTiger/54064cfc35ef9e38ff0a4595298355c9 to your computer and use it in GitHub Desktop.
Check CPU Temp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cputemp(){ | |
paste <(cat /sys/class/thermal/thermal_zone*/type) <(cat /sys/class/thermal/thermal_zone*/temp) | \ | |
column -s $'\t' -t | \ | |
sed 's/\(.\)..$/.\1°C/' | |
} | |
cputemp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment