![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
shell
u010988140
这个作者很懒,什么都没留下…
展开
-
How to kill session by keywords?
keywords="install" session_list=ps -ef | grep "${keywords}" | awk '{print $2}' for session in ${session_list[*]} do kill -9 $session if [ $? != 0 ];then echo kill $session successfully el原创 2013-10-10 11:38:45 · 404 阅读 · 0 评论 -
How to handle the space in column with awk?
It happens when check non version controlled files in SVN folder and some file names are with space like: ? ABC DEF ? HIUHOJ ? NDJIH JI The main point is to get the file name li原创 2013-10-15 15:20:28 · 413 阅读 · 0 评论