bsduuidgen

generate universally unique identifiers 

Command


SYNOPSIS

uuidgen -1cs [-n count] [-o filename]


DESCRIPTION

The uuidgen utility by default generates a single DCE version 1 universally unique identifier (UUID), also known as a globally unique identifier (GUID). The UUID is written to stdout by default. The following options can be used to change the behaviour of uuidgen:

Options

-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. The PTC MKS Toolkit port of uuidgen() does not use UuidCreateSequential() and so this option has no effect on the output.

-c 

Display output in upper case.

-n count 

This option controls the number of identifiers generated. By default, multiple identifiers are generated in batch. The PTC MKS Toolkit port of uuidgen() does not use UuidCreateSequential() and so this option has no effect on performance or the output.

-o filename 

Redirect output to filename instead of stdout.

-s 

Display output in C structure format.


DIAGNOSTICS

The uuidgen utility exits 0 on success, and >0 if an error occurs.


PORTABILITY

FreeBSD 5 and up. Windows 8.1. Windows Server 2012 R2. Windows 10. Windows Server 2016. Windows Server 2019. Windows 11. Windows Server 2022.


AVAILABILITY

PTC MKS Toolkit for Power Users
PTC MKS Toolkit for System Administrators
PTC MKS Toolkit for Developers
PTC MKS Toolkit for Interoperability
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition


SEE ALSO

Functions:
uuid(), uuidgen()


PTC MKS Toolkit 10.4 Documentation Build 39.