批量kill
ps -ef|grep 54690|grep -v grep|grep -v pullstream.sh|cut -c 9-15|xargs kill -9
查找文件
find . -name 'TestController*'
查看文件5到10行
cat -n a.txt|tail -n +5|head -n 6
批量kill
ps -ef|grep 54690|grep -v grep|grep -v pullstream.sh|cut -c 9-15|xargs kill -9
查找文件
find . -name 'TestController*'
查看文件5到10行
cat -n a.txt|tail -n +5|head -n 6
转载于:https://my.oschina.net/u/3798036/blog/3011973