Generate a Unique ID (UUID/GUID)
Syntax uuidgen [-hdr] Key -hdr Emit CoreFoundation CFUUID-based source code for using the uuid in a header.
The UUID is printed to standard output as a hyphen-punctuated ASCII string of the form:
EEF45689-BBE5-4FB6-9E80-41B78F6578E2
(in printf(3) format "%08X-%04X-%04X-%04X-%012X"),
unless the -hdr option is given, in which case a fragment of source code is output.
The use of a UUID as the primary key in a database should be avoided as it will typically result in an (approx) 30 X reduction in performance compared to an integer. [ref]
“Be an individual. Be unique. Stand out. Make noise. Make someone notice” ~ Jon Bon Jovi
Local man page: uuidgen - Command line help page on your local machine.
set - Set a shell variable = value