Killing only regular python processes and not ipython notebook

后端 未结 0 1071
予麋鹿
予麋鹿 2021-02-14 06:09

I have this nice script I use to kill all python processes. I use it since I parallelize a lot:

#!/bin/bash
kill $(ps aux | grep \'python\' | awk \'{print $2}\')
         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题