//删除当前目录下的日志文件
find . -name "*-common.log" -type f -print -exec rm -rf {} ;
//查询端口占用
netstat -tunlp
netstat -tunlp | grep 8080
//启动程序
nohup java -jar MyServer.jar >/dev/null 2>&1 &
//tail跟踪日志
tail common.log -f
//抓包
tshark tcp port 8080 -w /tmp/server.pcap
// [Xshell] 清屏
// [Xshell] 用编辑器查看