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
Post a Comment