Noticed something strange while working with a raspberry pi.
Using pkill with no options allows me to run other commands afterwards in the same line, but if I use the option -f, then subsequent commands are ignored. Does anyone know why?
$ ssh [email protected] "pkill -f blablabla ; echo yeaaaah"
[email protected]'s password:
$ ssh [email protected] "pkill blablabla ; echo yeaaaah"
[email protected]'s password:
yeaaaah
It makes no difference whether process blablabla exists or not.