DevOpsDevOps

Generate Random Password Using Command-Line

Jun 28, 2017 · Updated: Nov 04, 2017 · by Tim Kamanin

This approach doesn't need any additional libraries to be installed (at least on Mac or Linux), you just open your terminal and type:

openssl rand -base64 16 | colrm 17

And you'll get a 16 chars long random password generated by openssl.

Hey, if you've found this useful, please share the post to help other folks find it:

There's even more:

Subscribe for updates

  • via Twitter: @timonweb
  • old school RSS:
  • or evergreen email ↓ ↓ ↓