Skip to content

Instantly share code, notes, and snippets.

@borncrusader
Last active January 31, 2020 05:32
Show Gist options
  • Save borncrusader/213996 to your computer and use it in GitHub Desktop.
Save borncrusader/213996 to your computer and use it in GitHub Desktop.
# execute previous command as sudo
sudo !!
# get a random 32 bit key (how random depends on your urandom source)
cat /dev/urandom | base64 | head -n1 | cut -c -32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment