Skip to content

Commit

Permalink
Adding an alias to generate some random string
Browse files Browse the repository at this point in the history
  • Loading branch information
yml committed Jul 21, 2017
1 parent 279e736 commit 16b0e52
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions _bash_aliases
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,5 @@ else
alias ll="ls -lF"
fi

# pwdgen provides some random strings that could be used for password
alias pwdgen="head -c 1000 /dev/urandom | tr -dc 'a-zA-Z0-9~,;!@#$%^&*_-' | fold -w20 | head -10"

0 comments on commit 16b0e52

Please sign in to comment.