commits:

You Don't Need uuidgenerator.net

You know you can generate a UUID easily?

Just execute this:

uuidgen

or if you want a version 7 UUID:

uuidgen -7

voilà! Now you have a UUID in your stdout!

Note

In NixOS, uuidgen is part of the util-linux package, so it should be pre-installed in most Linux distribution

You can even try:

cat /proc/sys/kernel/random/uuid

this also give you a v4 UUID.

In the past, when I needed a UUID for testing, I would search for uuid and click the first search result, www.uuidgenerator.net, and copy the UUID, then close the site. I feel so dumb for doing that since I discovered this...

This blog is copy from my old Reddit post