Created
June 7, 2020 12:34
-
-
Save modeverv/a1affde0c5b2d6b1249b23d684733699 to your computer and use it in GitHub Desktop.
script of TEMPer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import subprocess | |
from subprocess import check_output | |
out = check_output("sudo tempered 2> /dev/null | awk 'NR==1' | cut -b 29-33", shell=True).decode('utf-8').strip() | |
print(out) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment