Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

uuidgen(1) [netbsd man page]

UUIDGEN(1)						    BSD General Commands Manual 						UUIDGEN(1)

NAME
uuidgen -- generate universally unique identifiers SYNOPSIS
uuidgen [-1s] [-n count] [-o filename] DESCRIPTION
The uuidgen utility by default generates a single universally unique identifier (UUID), also known as a globally unique identifier (GUID). By default, uuidgen generates a single UUID and outputs it in the standard string representation to stdout. The following options can be used to change the behavior of uuidgen: -1 This option only has effect if multiple identifiers are to be generated and instructs uuidgen to not generate them in batch, but one at a time. -n count This option controls the number of identifiers generated. By default, multiple identifiers are generated in batch. -o filename Redirect output to filename instead of stdout. -s Output UUIDs as initialized C structures, rather than in the standard string format. Batched generation yields a dense set of identifiers in such a way that there is no identifier that is larger than the smallest identifier in the set and smaller than the largest identifier in the set and that is not already in the set. When generating the identifiers one at a time, the identifiers will be close to each other, but operating system latency and processing time will be reflected in the distance between two successive identifiers. DIAGNOSTICS
The uuidgen utility exits 0 on success, and >0 if an error occurs. SEE ALSO
uuidgen(2), uuid(3) HISTORY
The uuidgen command first appeared in NetBSD 3.0. BSD
September 13, 2004 BSD

Check Out this Related Man Page

uuidgen(1)						      General Commands Manual							uuidgen(1)

NAME
uuidgen - a universally unique identifier (UUID) generator for XPLC SYNOPSIS
uuidgen [ OPTION ] ... uuidcdef [ OPTION ] ... DESCRIPTION
uuidgen generates a new universally unique identifier (UUID). This UUID can be assumed to be unique to any other UUIDs generated on the local system, as well as those created on any other systems, at any time in the past or future. By default, uuidgen will try to generate a UUID with as much randomness as possible. It tries to pick out a high-quality randomness source. If it cannot find one, it will fall back on using a time-based algorithm. OPTIONS
-c, --cdef Print the UUID as an initializer for a C structure, compatible with the type used by XPLC. This is the default mode for uuidcdef. -r, --random Demand that the random-based algorithm be used to generate the UUID. This will prefer a high-quality randomness source, but may fall back on a low-entropy one. -t, --time Demand that the time-based algorithm be used to generate the UUID. -u, --uuid Print the UUID like: "26175a27-c35d-4615-8dfb-1509eab28ef8". This is the printf(3) format: "%08x-%04x-%04x-%04x-%012x". This is the default mode for uuidgen. AUTHOR
Simon Law SEE ALSO
uuidgen(1). tvtime 0.3.13 October 2005 uuidgen(1)
Man Page