LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

uuid

Generate universally unique identifiers

TLDR

TLDR

Generate UUIDv1
$ uuid
copy
Generate UUIDv4
$ uuid -v 4
copy
Generate multiple UUIDs
$ uuid -v 4 -n [number_of_uuids]
copy
Specify output format
$ uuid -v 4 -F [BIN|STR|SIV]
copy
Write to file
$ uuid -v 4 -o [path/to/file]
copy
Generate UUIDv5 with namespace
$ uuid -v 5 ns:[DNS|URL|OID|X500] [object_name]
copy
Decode UUID
$ uuid -d [uuid]
copy

SYNOPSIS

uuid [OPTIONS]

DESCRIPTION

uuid generates and decodes Universally Unique Identifiers. It supports multiple UUID versions: v1 (time-based), v3 (MD5 hash), v4 (random), and v5 (SHA-1 hash).UUIDs are 128-bit identifiers used for uniquely identifying information across distributed systems.

PARAMETERS

-v VERSION

UUID version (1, 3, 4, or 5)
-n COUNT
Generate multiple UUIDs
-F FORMAT
Output format (BIN, STR, or SIV)
-o FILE
Write output to file
ns: NAMESPACE
Namespace prefix for v3/v5
-d
Decode UUID

INSTALL

sudo apt install uuid
copy
sudo dnf install uuid
copy
sudo apk add ossp-uuid
copy
sudo zypper install ossp-uuid
copy
brew install ossp-uuid
copy

CAVEATS

UUIDv1 may expose system information. UUIDv4 requires good random source. Namespace UUIDs require object name specification.

SEE ALSO

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid