linux常用命令
查看linux某个服务端口的establish连接总数netstat -antu | grep 8000 |grep EST| wc -l
解压文件到那个目录
tar zxvf xxxx.tar.gz -C /xxx/
递归查找目录文件里内容
grep Notifications `find ./*`
递归查找目录文件名
find /etc/httpd/ -name httpd.conf
查看监听端口
netstat -ntlp
查看TCP各状态数目
netstat -n | awk '/^tcp/ {++S[$NF]} END {for(a in S) print a, S}'
nohup不用nohup.out
nohup yourprog > /dev/null 2> /dev/null &
页:
[1]