1. iptables -nvL 查看防火牆設置
2. netstat -ant 查看端口
3.scp /home/cheney/full.tar.gz [email protected]:/home/root/ 遠程拷貝 源 --》目的
4. service httpd restart 啓動服務
5.rm .catalina.out.swp 刪除臨時文件
6.kill -9 123 殺死進程
7. ps -ef | grep java 查看進程
8. cp -rf /tct/ /usr/ss 拷貝
9.mv /our/s /u/ 剪切
11.ProxyPass /xch /ajp://192.168.1.1:8009/xch apache + tomcat 代理設置
12.find /usr/ -name "*.log" |xargs rm -rf 查找 並刪除
13. find /usr/ -name "*.jsp" | xargs perl -i -pe s%abc%cbd%g 查找並替換