1. iptables -nvL 查看防火墙设置
2. netstat -ant 查看端口
3.scp /home/cheney/full.tar.gz root@10.5.0.1:/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 查找并替换