Skip to content

Instantly share code, notes, and snippets.

@vadimkantorov
Last active June 23, 2020 12:04
Show Gist options
  • Save vadimkantorov/0f1b939e1f69dc6f8b306de975da7cfe to your computer and use it in GitHub Desktop.
Save vadimkantorov/0f1b939e1f69dc6f8b306de975da7cfe to your computer and use it in GitHub Desktop.
Generate a random password
echo $(< /dev/urandom tr -dc _A-Z-a-z-0-9 | head -c10)
alias genpass='echo $(< /dev/urandom tr -dc _A-Z-a-z-0-9 | head -c10)'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment