I need to write a simple bash script that kills a python script that is running in a terminal window. I'm assuming it will use kill -PID
but I don't know how to get the PID of something based on what's running.
I'm sure this is elementary for someone experienced in bash scripts, but I am very new to the topic.
I appreciate all of your time, thanks so much!
return PID
to put it in python terms. – Carson P Jul 03 '18 at 14:44