Generate UUID on Linux

Show how to generate UUID on Linux.

Simply run either command below:

uuidgen
cat /proc/sys/kernel/random/uuid

Note: default UUID version is 4. To generate a time-based UUID, use the command below.

uuidgen -t