dotfiles/.zsh/aliases.zsh

8 lines
390 B
Bash
Raw Normal View History

alias rmdir='rm -r'
alias sl='ls'
alias myip="wget -qO- ifconfig.me/ip"
alias memoryhog="ps aux | sort -nk +4 | tail"
alias stripext="ls -1 | sed 's/\(.*\)\..*/\1/'"
2012-03-09 01:55:07 +00:00
alias macgen="openssl rand -hex 6 | sed 's/\(..\)/\1:/g;s/../00/;s/.$//' | tr '[a-z]' '[A-Z]'"
2012-05-01 17:28:09 +00:00
alias quickpwgen="curl -s https://www.grc.com/passwords.htm | grep '63 random alpha-numeric characters' | html2text | tail -n 1"