실행 중인 파이썬 종료.

쉘(sh) 스크립트로  만들어도 좋다.

#!/bin/bash
for i in $(ps aux | grep python | awk '{print $2}' | sort -u); do kill -9 $i; done

 

+ Recent posts