Skip to content

Instantly share code, notes, and snippets.

@ardeshireshghi
Created December 15, 2022 20:16
Show Gist options
  • Save ardeshireshghi/6021ad6d8a650ecd4d76689661865101 to your computer and use it in GitHub Desktop.
Save ardeshireshghi/6021ad6d8a650ecd4d76689661865101 to your computer and use it in GitHub Desktop.
Create a random hex string 8 chars
cat /dev/urandom | head -1 | shasum | awk '{print $1}' | cut -c 1-8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment