Rotating Password Generation Command

watch -n 2 uuidgen

I recently was required to manually rotate a bunch of passwords. I was able to use this short command to make my life a bit easier.

uuidgen

This command simple generates a unique uuid(128-bit).

watch

Watch will run the command you give it at a fixed interval. In this case it will run uuidgen every 2 seconds.

My workflow for this was then just copying from the terminal to where I needed it. Back and forth. Every time I went back to the terminal there was a different value for me to use.