1UUIDGEN(1) General Commands Manual UUIDGEN(1)
2
3
4
6 uuidgen - command-line utility to create a new UUID value
7
9 uuidgen [-r|-t]
10
12 The uuidgen program creates (and prints) a new universally unique iden‐
13 tifier (UUID) using the libuuid(3) library. The new UUID can reason‐
14 ably be considered unique among all UUIDs created on the local system,
15 and among UUIDs created on other systems in the past and in the future.
16
17 There are two types of UUIDs which uuidgen can generate: time-based
18 UUIDs and random-based UUIDs. By default uuidgen will generate a ran‐
19 dom-based UUID if a high-quality random number generator is present.
20 Otherwise, it will chose a time-based UUID. It is possible to force
21 the generation of one of these two UUID types by using the -r or -t
22 options.
23
25 -r Generate a random-based UUID. This method creates a UUID con‐
26 sisting mostly of random bits. It requires that the operating
27 system have a high quality random number generator, such as
28 /dev/random.
29
30 -t Generate a time-based UUID. This method creates a UUID based on
31 the system clock plus the system's ethernet hardware address, if
32 present.
33
35 OSF DCE 1.1
36
38 uuidgen was written by Andreas Dilger for libuuid.
39
41 The uuidgen command is part of the util-linux-ng package and is avail‐
42 able from ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/.
43
45 libuuid(3)
46
47
48
49Linux May 2009 UUIDGEN(1)