Advertisement
Guest User

Untitled

a guest
Jun 27th, 2019
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. #!/bin/bash
  2. main(){
  3. sensors | awk '/Core/ {print $2 " " $3} '
  4. }
  5. finish(){
  6. tput cnorm -- normal
  7. }
  8. export -f main
  9. tput civis -- invisible
  10. trap finish EXIT
  11. watch -t -n "${1:-2}" bash -c main
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement