uuidgen

Generate unique identifiers (UUIDs).

Install

All systems
curl cmd.cat/uuidgen.sh
Debian Debian
apt-get install uuid-runtime
Ubuntu
apt-get install uuid-runtime
Alpine
apk add util-linux
Arch Arch Linux
pacman -S util-linux
image/svg+xml Kali Linux
apt-get install uuid-runtime
CentOS
yum install util-linux
Fedora
dnf install util-linux
OS X
brew install e2fsprogs
Raspbian
apt-get install uuid-runtime
Docker
docker run cmd.cat/uuidgen uuidgen powered by Commando

Generate unique identifiers (UUIDs).

  • Create a random UUID:
    uuidgen --random
  • Create a UUID based on the current time:
    uuidgen --time
  • Create a UUID based on the hash of a URL:
    uuidgen --sha1 --namespace @url --name object_name

© tl;dr; authors and contributors