1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-03 12:35:22 +02:00
tldr/pages/linux/uuidgen.md

18 lines
419 B
Markdown
Raw Normal View History

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