Linux command
- du -sh * 按文件大小排序
- df -h 检测磁盘使用率
- ln -s src dest 软链
- ps aux|grep tomcat or ps -ef |grep tomcat 查看tomcat进程
- kill -9 pid
$ sudo chown -R username:staff data/
Java environment prepare:
export JAVA_HOME=/usr/local/jdk1.8.0_45export PATH=$JAVA_HOME/bin:$PATHexport CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar