Skip to content

Instantly share code, notes, and snippets.

@realchrisolin
Created November 13, 2016 22:56
Show Gist options
  • Save realchrisolin/a2cb0a39db161aab425e2b2d209aa9e5 to your computer and use it in GitHub Desktop.
Save realchrisolin/a2cb0a39db161aab425e2b2d209aa9e5 to your computer and use it in GitHub Desktop.
# Simple shell script to quickly generate a list of 12 character temp passwords that I've been using for years
#!/bin/bash
head -c 500 /dev/urandom | tr -dc 'a-zA-Z0-9-_!@#$%^&*()_+{}|:<>?='|fold -w 12| head -n 8| grep -i '[!@#$%^&*()_+{}|:<>?=]'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment