Last active
May 14, 2016 10:33
-
-
Save mminski/660b0352ac67d062914a5608c1133004 to your computer and use it in GitHub Desktop.
generate password without leaving traces in history
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
md5 -q -s "mypassword" | pbcopy | INTE="$(wc .zsh_history | awk '{print $1-1}')" | head -n +$INTE .zsh_history | >dump && mv dump .zsh_history | |
//even better is when you use gpg and read the password out of an encrypted file | |
// and dont use md5 use sha2 ±__± | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment