본문 바로가기

프로그래밍/Linux

프로세스명으로 kill 하기

kill -9 $(ps -eaf|grep 프로세스명|grep -v grep|awk '{print $2}')