UUIDGEN(1) User Commands UUIDGEN(1)
uuidgen - command-line utility to generate UUID's
uuidgen [-r | -t] [-o filename]
The uuidgen command generates and prints a Universally Unique
IDentifier (UUID). By default uuidgen creates a new UUID based on high-
quality randomness from arc4random(3C) (DCE version 4). If the -t
option is provided then a time-based (DCE version 1) UUID will be
generated.
-r Generate a UUID using uuid_generate_random() instead of
uuid_generate(). This derives the new UUID from random data.
-t Generate a UUID using uuid_generate_time() instead of
uuid_generate(). This uses the current time and either the
Ethernet address (if available) or system node ID.
-o Redirect output to filename instead of stdout.
0 Successful completion.
>0 Failure.
Uncommitted.
uuid_generate(3uuid), uuid_generate_random(3uuid),
uuid_generate_time(3uuid)
illumos September 13, 2015 illumos
NAME
uuidgen - command-line utility to generate UUID's
SYNOPSIS
uuidgen [-r | -t] [-o filename]
DESCRIPTION
The uuidgen command generates and prints a Universally Unique
IDentifier (UUID). By default uuidgen creates a new UUID based on high-
quality randomness from arc4random(3C) (DCE version 4). If the -t
option is provided then a time-based (DCE version 1) UUID will be
generated.
OPTIONS
-r Generate a UUID using uuid_generate_random() instead of
uuid_generate(). This derives the new UUID from random data.
-t Generate a UUID using uuid_generate_time() instead of
uuid_generate(). This uses the current time and either the
Ethernet address (if available) or system node ID.
-o Redirect output to filename instead of stdout.
EXIT STATUS
0 Successful completion.
>0 Failure.
INTERFACE STABILITY
Uncommitted.
SEE ALSO
uuid_generate(3uuid), uuid_generate_random(3uuid),
uuid_generate_time(3uuid)
illumos September 13, 2015 illumos