文件夹拷贝
cp -rf `ls ./ | grep -E -v "^(.git)$"` ../ant-manager/根据进程关键字批量杀进程
ps -ef |grep start |awk '{print $2}' | xargs -I X kill X
抓包
tcpdump -X -s 0 -i 2 host 192.168.3.71 and tcp port 80
tcpick -C -yP -r tcpdump_0929.cap
tcpick -i eth1 -yP -C -h "port 80"
tcpdump -X -s 0 -i 4 host 192.168.3.71 and tcp port 80 -w /tmp/tcpdump_0929.cap
tcpdump -i any port http -A
tcpdump -X -s 0 -i 4 host 192.168.3.71 and tcp port 80 -w /tmp/tcpdump.cap
---------------------
$ find /alidata/www/ant_nest_dev/ -type f -name "*.php" | xargs grep "192.168.1.201"
$ grep 192.168.1.201 -rl /alidata/www/ant_nest_dev/|xargs sed -i 's/192.168.1.201/192.168.2.115/g'