Random UUID is great when you need to generate a file with a temporary filename and avoiding file naming conflict.
No additional installation required for Bash, just run the command below.
No additional installation required for Ruby too. Just copy the codes below into “uuid.rb”.
Use the command below to execute the Ruby script.
The component to generate UUID does not come preinstalled together with the standard installation of Go/Golang. You’ll need to install the package by running the command below.
go get github.com/google/uuid
Paste the content below into “uuid.go”.
package mainimport (
Use command below to run it.
go run uuid.go