Last active
August 3, 2020 11:56
-
-
Save EdOverflow/431aa7ea13ac09c6f55d40da4ada520c to your computer and use it in GitHub Desktop.
russian rmoulette
This file contains hidden or 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
#!/bin/bash | |
su - | |
rm "-$(cat /dev/urandom | tr -dc 'a-z' | fold -w ${RANDOM:0:1} | head -n 1)" "$(ls | sort -R | head -1)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment