Skip to content

Instantly share code, notes, and snippets.

@sn99
Created March 1, 2020 19:06
Show Gist options
  • Save sn99/973fdbbcb8c581ff35ff09ecdd09ebe0 to your computer and use it in GitHub Desktop.
Save sn99/973fdbbcb8c581ff35ff09ecdd09ebe0 to your computer and use it in GitHub Desktop.
for i in {0..9999}; do paste <(cat /sys/class/thermal/thermal_zone*/type) <(cat /sys/class/thermal/thermal_zone*/temp) | column -s $'\t' -t | sed 's/\(.\)..$/.\1°C/'; printf "\n================================= $i\n\n"; sleep 0.5; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment