3
votes
5answers
1k views

Graceful way to kill process

After my bash script is done with the selenium server, the script kills it like this: kill `ps -ef | grep selenium | awk '{ print $2 }'` While this works and it does kill the selenium script, it ...