mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-31 08:41:55 +00:00
23 lines
466 B
Plaintext
23 lines
466 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# uuidgen
|
|
|
|
> Generate unique identifiers (UUIDs).
|
|
> See also `uuid`.
|
|
> More information: <https://manned.org/uuidgen>.
|
|
|
|
- Create a random UUIDv4:
|
|
|
|
`uuidgen --random`
|
|
|
|
- Create a UUIDv1 based on the current time:
|
|
|
|
`uuidgen --time`
|
|
|
|
- Create a UUIDv5 of the name with a specified namespace prefix:
|
|
|
|
`uuidgen --sha1 --namespace {{@dns|@url|@oid|@x500}} --name {{object_name}}`
|