Skip to content

Instantly share code, notes, and snippets.

@isaacgr
Created January 15, 2023 18:33
Show Gist options
  • Save isaacgr/67bb8831a1332a8ee8f4d25fcf9b4a49 to your computer and use it in GitHub Desktop.
Save isaacgr/67bb8831a1332a8ee8f4d25fcf9b4a49 to your computer and use it in GitHub Desktop.
Generate 32 character random string from command line
head /dev/urandom | LC_ALL=C tr -dc 'A-Za-z0-9' | head -c 32 && echo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment