Kill Me Softly: killing a process The Right Way
I was tired of repeating the same old pattern. Send a kill signal. Check with pgrep. Did the process exit? Send a kill -9. Now all my knowledge has been permanently dumped here: Kill Me Softly on GitHub If you want to kill a process by letting it to exit