tldr/pages/linux/uuidgen.md

264 B

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}}