linux操作系统 uuidgen命令手册

uuidgen

Generate unique identifiers (UUIDs).

  • Create a random UUID:

uuidgen --random

  • Create a UUID based on the current time:

uuidgen --time

  • Create a UUID based on the hash of a URL:

uuidgen --sha1 --namespace {{@url}} --name {{object_name}}