How to Generate a UUID on Solaris



  • On most operating systems, even Windows, getting a UUID or GUID is pretty simple, but not on Solaris. But never fear, if you have an Internet connection there are some simple ways to get a UUID without needing a local utility.

    curl https://www.uuidgenerator.net/ | grep uuid | cut -d '>' -f2 | cut -d '<' -f1


  • @scottalanmiller said in How to Generate a UUID on Solaris:

    On most operating systems, even Windows, getting a UUID or GUID is pretty simple, but not on Solaris. But never fear, if you have an Internet connection there are some simple ways to get a UUID without needing a local utility.

    curl https://www.uuidgenerator.net/ | grep uuid | cut -d '>' -f2 | cut -d '<' -f1
    

    I haven’t used Solaris recently so that’s awesome.



  • I was pretty surprised to find that uuidgen was not available, not even available for install!