Skip to content

Instantly share code, notes, and snippets.

View JasonLocklin's full-sized avatar

J Locklin JasonLocklin

View GitHub Profile
@JasonLocklin
JasonLocklin / temperature.sh
Created April 28, 2024 23:22 — forked from fabiolimace/temperature.sh
Get current temperature
# https://askubuntu.com/questions/15832/how-do-i-get-the-cpu-temperature
paste <(cat /sys/class/thermal/thermal_zone*/type) <(cat /sys/class/thermal/thermal_zone*/temp) \
| column -s $'\t' -t \
| sed 's/\(.\)..$/.\1°C/'