Created
March 19, 2022 09:24
-
-
Save ah-cog/26afa5aacf6077429ca75a19a07bb219 to your computer and use it in GitHub Desktop.
Generate random UUID and extract first group (8 characters)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
uuidgen | awk '{print tolower($0)}' | sed s/-/\\n/g | head -n 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment