软连接语法
ln -s sourcepath targetpath
ant添加软连接
ln -s /opt/dev/ant/apache-ant-1.9.4/bin/ant /usr/local/bin/ant
maven添加软连接
ln -s /opt/dev/maven/apache-maven-3.3.3/bin/mvn /usr/local/bin/mvn
jdk添加软连接
ln -s /opt/dev/jdk/jdk1.8.0_91/bin/java /usr/local/bin/java
ln -s /opt/dev/jdk/jdk1.8.0_91/bin/javac /usr/local/bin/javac
ln -s /opt/dev/jdk/jdk1.8.0_91/bin/javadoc /usr/local/bin/javadoc
ln -s /opt/dev/jdk/jdk1.8.0_91/bin/jhat /usr/local/bin/jhat
ln -s /opt/dev/jdk/jdk1.8.0_91/bin/jinfo /usr/local/bin/jinfo
ln -s /opt/dev/jdk/jdk1.8.0_91/bin/jmap /usr/local/bin/jmap
ln -s /opt/dev/jdk/jdk1.8.0_91/bin/jps /usr/local/bin/jps
ln -s /opt/dev/jdk/jdk1.8.0_91/bin/jstack /usr/local/bin/jstack
ln -s /opt/dev/jdk/jdk1.8.0_91/bin/jstat /usr/local/bin/jstat
ln -s /opt/dev/jdk/jdk1.8.0_91/bin/keytool /usr/local/bin/keytool
nginx添加软连接
ln -s /usr/local/nginx/sbin/nginx /usr/local/bin/nginx
php添加软连接