|
To use killall you need the exact name, or starting part of it..
Meaning if you have the program running, but in the process list it is named /some/path/program, then using killall program wont kill it.
And if you have another program running ie, program to kill is running as myprogram1, ansd another one is named myprogram11, then using killall myprogram1 will kill them both.
So in teh long run, you would need to atleast use ps once, so I would use what technobard sugests.
|