You are viewing a single comment's thread from:
RE: Linux Automation Tip: Kill Script if Already Running
I use "killall" but sometimes you don't have it, and your little script will be useful.
I use "killall" but sometimes you don't have it, and your little script will be useful.
Yeah I looked at killall but you seemed to need to know the precise command whereas using Grep can find anything containing the string - I might be wrong of course!
No, you are right. This is the default behaviour but there is a flag where you can put a regex too.