摘要: 如果在机器上发现有执行的脚本,却不知道在哪,可以这样找例如# netstat -ltnpActive Internet connections (only servers)Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 127.0.0.1:2208 0.0.0.0:* LISTEN 2288/hpiod t... 阅读全文
posted @ 2013-06-28 22:14 sunsweet 阅读(6918) 评论(0) 推荐(0) 编辑
摘要: [anonymous@localhost ~/lvs/ipvsadm-1.26]>>find ./ -maxdepth 3 -regex '.*Makefile.*' -o -regex '.*\.[ch]' -exec cat {} \; | wc -l4220[anonymous@localhost ~/lvs/ipvsadm-1.26]>>find ./ -maxdepth 3 \( -regex '.*Makefile.*' -o -regex '.*\.[ch]' \) -exec cat {} 阅读全文
posted @ 2013-06-28 20:50 sunsweet 阅读(441) 评论(0) 推荐(0) 编辑
摘要: debian /etc/network/interfaces# This file describes the network interfaces available on your system# and how to activate them. For more information, see interfaces(5).# The loopback network interfaceauto loiface lo inet loopback# The primary network interfaceauto eth0iface eth0 inet static a... 阅读全文
posted @ 2013-06-28 12:34 sunsweet 阅读(252) 评论(0) 推荐(0) 编辑