0

I run a command :

python blink_led.py &

Then I try to kill it with pkill

pkill blink_led.py

But it doesn't work

Even after checking man page, I don't understand how pkill works

Juliatzin
  • 18,455
  • 40
  • 166
  • 325
  • 3
    Use the `-f` option to match the entire command line. Without that, it just matches the program name, which is just `python`. – Barmar Feb 06 '19 at 11:13
  • you rock! Thanks for the help, and sorry it is not on the SO scope, will remember it for next time! – Juliatzin Feb 06 '19 at 11:17

0 Answers0