UUIDGEN(1) User Commands UUIDGEN(1)

NAME

uuidgencommand-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(3uuidd)
September 13, 2015 illumos