reading CPU temperature script

This commit is contained in:
lachtan
2021-11-06 11:37:45 +01:00
parent 9393fc667b
commit ce1571aeeb

3
bin/cputemp Executable file
View File

@@ -0,0 +1,3 @@
#!/bin/bash
echo "$[$(cat /sys/class/thermal/thermal_zone0/temp)/1000]° C"