Skip to content

Instantly share code, notes, and snippets.

@EdOverflow
Last active August 3, 2020 11:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save EdOverflow/431aa7ea13ac09c6f55d40da4ada520c to your computer and use it in GitHub Desktop.
Save EdOverflow/431aa7ea13ac09c6f55d40da4ada520c to your computer and use it in GitHub Desktop.
russian rmoulette
#!/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