LinuxCommandLibrary

genid

random identifier and UUID generator

TLDR

Generate random ID

$ genid
copy
Generate UUID
$ genid --uuid
copy
Generate specific length
$ genid -l [32]
copy
Alphanumeric only
$ genid --alphanumeric
copy

SYNOPSIS

genid [options]

DESCRIPTION

genid generates random identifiers suitable for various purposes. It produces unique strings for use as IDs, tokens, or keys.
The tool supports multiple formats including UUID, alphanumeric strings, and custom lengths. Output is cryptographically suitable for non-security-critical uses.
genid provides quick random identifier generation from the command line.

PARAMETERS

-l LENGTH

ID length.
--uuid
Generate UUID format.
--alphanumeric
Use only letters and numbers.
--hex
Hexadecimal output.
--help
Display help information.

CAVEATS

Not for cryptographic keys. Uniqueness not guaranteed. May vary between implementations.

HISTORY

genid is a utility for generating random identifiers, providing convenient access to random string generation for scripting and development purposes.

SEE ALSO

uuid(1), uuidgen(1), pwgen(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community