View previous topic :: View next topic |
Author |
Message |
dongfangxunlei n00b
Joined: 30 Jan 2013 Posts: 40
|
Posted: Sat Jan 11, 2014 7:13 am Post subject: How to kill the propram which named "a" ? |
|
|
I run "pkill a" in konsole,but kwin crashes.
I also find that
pkill b
pkill c
pkill ad
have strange effect too.
|
|
Back to top |
|
|
lexflex Guru
Joined: 05 Mar 2006 Posts: 363 Location: the Netherlands
|
Posted: Sat Jan 11, 2014 7:32 am Post subject: Re: How to kill the propram which named "a" ? |
|
|
dongfangxunlei wrote: | I run "pkill a" in konsole,but kwin crashes.
I also find that
pkill b
pkill c
pkill ad
have strange effect too.
|
Hi,
It should work, what process are you trying to kill ?
In your kill b and c examples, what is the output ? ( you talk about strange behavior)
Did you try killall a ? Does it also make kwin crash ?
Alex. |
|
Back to top |
|
|
Hypnos Advocate
Joined: 18 Jul 2002 Posts: 2889 Location: Omnipresent
|
Posted: Sat Jan 11, 2014 7:34 am Post subject: |
|
|
Not surprising if you understand how pkill uses the argument to find processes to kill. _________________ Personal overlay | Simple backup scheme |
|
Back to top |
|
|
Apheus Guru
Joined: 12 Jul 2008 Posts: 422
|
Posted: Sat Jan 11, 2014 3:58 pm Post subject: |
|
|
According to "man pgrep", the following should work:
-x = "exact" |
|
Back to top |
|
|
|