[linux]kill more than one process use ps aux grep awk you can use ps aux ,grep find your program name #ps aux | grep "prog_name" using awk to parse process id #ps aux | grep "prog_name" | awk '{print $2}' kill all process #kill -9 $(ps aux | grep "prog_name" | awk '{print $2}')
文章標籤
全站熱搜
創作者介紹
創作者 peicheng 的頭像
peicheng

FLASHC

peicheng 發表在 痞客邦 留言(0) 人氣(26)