shell - OSX Terminal: How to kill all processes with the same name -


getting following output running this:

ps aux | grep python 

output:

user_name  84487   0.0  0.0        0      0   ??  z    12:15pm   0:00.00 (python) user_name  84535   0.0  0.0        0      0   ??  z    12:16pm   0:00.00 (python) 

i want terminate python processes running on machine....

use pkill, -f option.

pkill -f python 

if don't have pkill pre-installed (some osx's don't...), try proctools.


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

android - Keyboard hides my half of edit-text and button below it even in scroll view -

css - Make div keyboard-scrollable in jQuery Mobile? -