Skip to content

Instantly share code, notes, and snippets.

@pascaliske
Last active April 22, 2020 13:20
Show Gist options
  • Save pascaliske/d960a036316cf0b6507bd24325585236 to your computer and use it in GitHub Desktop.
Save pascaliske/d960a036316cf0b6507bd24325585236 to your computer and use it in GitHub Desktop.
Watch Raspberry Pi temperature and display in place.
temp() {
while true; do
printf "\r$(vcgencmd measure_temp)";
sleep 1;
done;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment