On Fri, 5 Feb 2021 14:07:39 -0500, Walter Dnes wrote: > > man killall > > My reading of the "killall" man page is that it works on command > names. For my script, "pstop palemoon" stops all instances of Pale > Moon. But my script greps the entire line, so "pstop slashdot" will > stop the process... > > /home/waltdnes/pm/palemoon/palemoon -new-instance -p slasdot > > Does "killall" have that ability to stop a process based on any > parameters in the command line?
No, but you could look at using pgrep to avoid some of the awkery. -- Neil Bothwick Velilind's Laws of Experimentation: 1. If reproducibility may be a problem, conduct the test only once. 2. If a straight line fit is required, obtain only two data points.
pgpjRh3VFJSr4.pgp
Description: OpenPGP digital signature