b1ulyg
Last Updated: February 25, 2016
·
444
· phaus

usefull Mac OS CLI Aliase


#Switching Java Versions
alias java6="export JAVA_HOME=`/usr/libexec/java_home -v1.6`"
alias java7="export JAVA_HOME=`/usr/libexec/java_home -v1.7`"
alias java8="export JAVA_HOME=`/usr/libexec/java_home -v1.8`"

# Calculates some checksums
alias sha1="openssl sha1"
alias sha256="openssl sha256"
alias sha512="openssl sha512"