Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- while true; do
- rawtemp=`cat /sys/class/thermal/thermal_zone0/temp`
- temp=`echo "$rawtemp / 1000" | bc`
- echo $temp\C
- echo -e '\033k'$temp\C'\033\\'
- sleep 10
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement