commands.sh

systemd-id128

linux

Generate and print sd-128 identifiers.

More info →

Options (1)

-u, --uuidboolean

Generate a new random identifier and print it as a UUID (five groups of digits separated by hyphens)

Example: systemd-id128 new {{[-u|--uuid]}}

Examples (5)

Generate a new random identifier

Print the identifier of the current machine

systemd-id128 machine-id

Print the identifier of the current boot

Print the identifier of the current service invocation (this is available in systemd services)

systemd-id128 invocation-id

Generate a new random identifier and print it as a UUID (five groups of digits separated by hyphens)

systemd-id128 new [-u|--uuid]
made by @shridhargupta | data from tldr-pages