I'm working on a supercomputer and have a shell script that will automatically schedule a bunch of jobs for me. Once the script is run, I can terminate manually with Ctrl+C. I was running the script from a unix screen session and terminated the screen, but the script is somehow still running and submitting jobs. It seems to be stuck in a loop and not ending, thus consuming precious core-hours.I tried ps -u [user] but it doesn't show up. I know for a fact that it's still running in the background and just need to kill it.Edit: uname -a gives the following result:Linux blogin3 2.6.32-431.20.3.el6.x86_64 #1 SMP Thu Jun 19 21:14:45 UTC 2014 x86_64 x86_64 x86_64 GNU/LinuxSo I guess the supercomputer is running Linux.
How to terminate a shell script?
shell script;kill