[UP]


Manual Reference Pages  - uuidgen (1)

NAME

uuidgen(1f) - [FUNIX] generate a UUID (Universally Unique ID) string per RFC 4122 (LICENSE:PD)

CONTENTS

Synopsis
Description
Options
Examples
Author
License

SYNOPSIS

uuidgen [[ --method NAME][ -urn][ -repeat N]]|[ --help|--version]

DESCRIPTION

uuidgen(3f) generates UUID strings according to the RFC 4122 standard.

A universally unique identifier (UUID) is a 128-bit number used to identify information in computer systems. When generated according to standard methods UUIDs are for practical purposes unique.

Standard methods 0,1, and 4 are supported as described in RFC 4122.

UUID strings are particularly useful as keys for relational database entries, and for building unique temporary file names (especially in cross-mounted filesystems that more than one OS is utilizing).

OPTIONS

--method NAME
  Select the UUID version type. Supported methods are nil|0, random|4, time|1.
0. Nil UUID (ie. ’’00000000-0000-0000-0000-000000000000’’)
1. time-based UUID
2. Not implemented
3. Not implemented
4. pseudo-RNG(Random Number Generator) based
5. Not implemented
--urn RFC 4122 defines a Uniform Resource Name (URN) namespace for UUIDs. IE., the output is prefixed with "urn:uuid:".
--repeat N
  Number of UUID strings to generate
--help display this help and exit
--version
  output version information and exit

EXAMPLES

Sample commands

   uuidgen
   4bb8051e-4af3-11e8-6603-4254ffee9a14

uuidgen -urn urn:uuid:e9fd7cab-69f2-4cd6-4b5e-d54b9fbf617a

uuidgen -method time -repeat 4 f2a2faf0-833a-11e9-7373-5eb4cfd7e237 f2a2faf0-833a-11e9-7373-afbb9f7b9100 f2a2faf0-833a-11e9-7373-cde3ffff3681 f2a2faf0-833a-11e9-7373-271cfbfd42bc

AUTHOR

John S. Urban

LICENSE

Public Domain


uuidgen (1) February 12, 2021
Generated by manServer 1.08 from 25655f6a-4068-45c0-ac85-8d24b145e0f9 using man macros.