-
-
Save seanwoodward/383d70d816e929ed16d4171ce638b70d to your computer and use it in GitHub Desktop.
Generate UUID in BASH/ZSH
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
### Source: https://coderwall.com/p/t_sz3q/generate-uuid-at-shell-prompt | |
# alias uuid="python -c 'import sys,uuid; sys.stdout.write(str(uuid.uuid4()))' | pbcopy && pbpaste && echo" | |
alias uuid="uuidgen | tr -d '\n' | tr '[:upper:]' '[:lower:]' | pbcopy && pbpaste && echo" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment