Last active
October 16, 2019 15:17
-
-
Save DoWhileGeek/5679012d20818372835b to your computer and use it in GitHub Desktop.
sudo woodo command line script
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 python | |
import os | |
def main(): | |
if os.geteuid() != 0: # checks if sudo | |
print("It's a weird tree.") | |
else: | |
sudowoodo = """ | |
_ __ | |
/ `\ (~._ ./ )' | |
\__/ __`-_\__/ ./' | |
_ \ \/ \ \ |_ __' | |
( ) \__/ -^ \ / \' | |
\_/ " \ | o o |.. / __' | |
\\. --' ==== / || / \\' | |
\ . . |---__.\__/' | |
/ : / | |' | |
/ : / \_/' | |
--/ :: (' | |
( | ( (____' | |
.-- .. ----**.____)' | |
\___/ | |
""" | |
print(sudowoodo) | |
if __name__ == "__main__": | |
main() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment