We are connecting to the same host via the same user. So, only our sessions/tty are different. If one of us starts a for loop such as:for i in *; do command $i; done
, I don't know how to stop it. All I can do is search for the command name in ps aux
and kill that instance of the command. But the for loop keeps going on, thus generating another command process.
How can I find that for loop and kill it?
Thank you, Sam