Skip to content

Instantly share code, notes, and snippets.

@shaunmolloy
Created July 29, 2022 11:07
Show Gist options
  • Save shaunmolloy/e43ffaae6995e5f750d40b205f4015e4 to your computer and use it in GitHub Desktop.
Save shaunmolloy/e43ffaae6995e5f750d40b205f4015e4 to your computer and use it in GitHub Desktop.
generate a uuid in bash
#!/usr/bin/env bash
# uuid
UUID=$(cat /proc/sys/kernel/random/uuid)
echo $UUID
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment