modifying the quickpwgen alias to be more portable.
This commit is contained in:
parent
4ae61131f4
commit
d8fadfd14b
@ -4,4 +4,4 @@ alias myip="wget -qO- ifconfig.me/ip"
|
|||||||
alias memoryhog="ps aux | sort -nk +4 | tail"
|
alias memoryhog="ps aux | sort -nk +4 | tail"
|
||||||
alias stripext="ls -1 | sed 's/\(.*\)\..*/\1/'"
|
alias stripext="ls -1 | sed 's/\(.*\)\..*/\1/'"
|
||||||
alias macgen="openssl rand -hex 6 | sed 's/\(..\)/\1:/g;s/../00/;s/.$//' | tr '[a-z]' '[A-Z]'"
|
alias macgen="openssl rand -hex 6 | sed 's/\(..\)/\1:/g;s/../00/;s/.$//' | tr '[a-z]' '[A-Z]'"
|
||||||
alias quickpwgen="curl -s https://www.grc.com/passwords.htm | grep '63 random alpha-numeric characters' | html2text | tail -n 1"
|
alias quickpwgen="tr -cd '[:alnum:]' < /dev/urandom | fold -w30 | head -n1"
|
||||||
|
Loading…
Reference in New Issue
Block a user