Tag Archives: harry potter

Bash Aliases for Harry Potter Enthusiasts!

[Cross-posted as a Gist.]

alias accio=wget
alias avadaKedavra='rm -f'
alias imperio=sudo
alias priorIncantato='echo `history |tail -n2 |head -n1` | sed "s/[0-9]* //"'
alias stupefy='sleep 5'
alias wingardiumLeviosa=mv

alias sonorus=’set -v’
alias quietus=’set +v’

alias colloportus=’openssl enc -aes-256-cbc’ # locking spell! $colloportus -in unencryptedName -out encryptedName
alias alohamora=’openssl enc -d -aes-256-cbc’ # unlocking spell! $alohamora -in encryptedName -out unencryptedName

Continue reading Bash Aliases for Harry Potter Enthusiasts!