Skip to content

Instantly share code, notes, and snippets.

@EdHurtig
Created October 4, 2017 03:51
Show Gist options
  • Save EdHurtig/e6bb0ecb1875e843ffeaab4f3af80690 to your computer and use it in GitHub Desktop.
Save EdHurtig/e6bb0ecb1875e843ffeaab4f3af80690 to your computer and use it in GitHub Desktop.
printf "CPU Temp (C): "
cat /sys/class/hwmon/hwmon0/device/temp1_input | sed 's/...$//'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment