NAME
uuidgen - create a new UUID valueSYNOPSIS
uuidgen [options]DESCRIPTION
The uuidgen program creates (and prints) a new universally unique identifier (UUID) using the libuuid(3) library. The new UUID can reasonably be considered unique among all UUIDs created on the local system, and among UUIDs created on other systems in the past and in the future.OPTIONS
-r, --randomGenerate a random-based UUID. This method
creates a UUID consisting mostly of random bits. It requires that the
operating system has a high quality random number generator, such as
/dev/random.
Generate a time-based UUID. This method
creates a UUID based on the system clock plus the system’s ethernet
hardware address, if present.
Display help text and exit.
Print version and exit.
Use MD5 as the hash algorithm.
Use SHA1 as the hash algorithm.
Generate the hash with the namespace
prefix. The namespace is UUID, or '@ns' where "ns" is
well-known predefined UUID addressed by namespace name (see above).
Generate the hash of the name.
Interpret name name as a hexadecimal
string.
CONFORMING TO
OSF DCE 1.1EXAMPLES
uuidgen --sha1 --namespace @dns --name "www.example.com"AUTHORS
uuidgen was written by Andreas Dilger for libuuid(3).SEE ALSO
uuidparse(1), libuuid(3), RFC 4122 <https://tools.ietf.org/html/rfc4122>REPORTING BUGS
For bug reports, use the issue tracker at <https://github.com/util-linux/util-linux/issues>.AVAILABILITY
The uuidgen command is part of the util-linux package which can be downloaded from Linux Kernel Archive <https://www.kernel.org/pub/linux/utils/util-linux/>.2022-05-11 | util-linux 2.38.1 |