2025-03-14 21:59:59 -06:00
|
|
|
# uuidgen
|
|
|
|
|
|
|
|
|
|
> Generate unique identifiers (UUIDs).
|
|
|
|
|
> See also `uuid`.
|
|
|
|
|
> More information: <https://manned.org/uuidgen>.
|
|
|
|
|
|
|
|
|
|
- Create a random UUIDv4:
|
|
|
|
|
|
2025-04-03 20:36:56 -06:00
|
|
|
`uuidgen {{[-r|--random]}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Create a UUIDv1 based on the current time:
|
|
|
|
|
|
2025-04-03 20:36:56 -06:00
|
|
|
`uuidgen {{[-t|--time]}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Create a UUIDv5 of the name with a specified namespace prefix:
|
|
|
|
|
|
2025-04-03 20:36:56 -06:00
|
|
|
`uuidgen {{[-s|--sha1]}} {{[-n|--namespace]}} {{@dns|@url|@oid|@x500}} {{[-N|--name]}} {{object_name}}`
|