1UUIDGEN(1) User Commands UUIDGEN(1)
2
3
4
6 uuidgen - create a new UUID value
7
9 uuidgen [options]
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 choose 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, --random
26 Generate a random-based UUID. This method creates a UUID con‐
27 sisting mostly of random bits. It requires that the operating
28 system have a high quality random number generator, such as
29 /dev/random.
30
31 -t, --time
32 Generate a time-based UUID. This method creates a UUID based on
33 the system clock plus the system's ethernet hardware address, if
34 present.
35
36 -h, --help
37 Display help text and exit.
38
39 -V, --version
40 Display version information and exit.
41
43 OSF DCE 1.1
44
46 uuidgen was written by Andreas Dilger for libuuid.
47
49 libuuid(3)
50
52 The uuidgen command is part of the util-linux package and is available
53 from ftp://ftp.kernel.org/pub/linux/utils/util-linux/.
54
55
56
57util-linux June 2011 UUIDGEN(1)