I am creating some Jenkins tokens for githooks and I was using uuidgen.
My coworker said they normally use uuid -v4 and after sudo apt-get-ing uuid, uuid -v4 and uuidgen appear to be the same:
$ uuid -v4
832dce77-ddec-4cc5-9872-47a81456653f
$ uuidgen
a321bc87-a1b5-4cc5-b6b5-feaf3a610ab8
For reference: I am running this on Ubuntu.
What is the difference between them? Are they they same?