Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to kill the propram which named "a" ?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
dongfangxunlei
n00b
n00b


Joined: 30 Jan 2013
Posts: 40

PostPosted: Sat Jan 11, 2014 7:13 am    Post subject: How to kill the propram which named "a" ? Reply with quote

I run "pkill a" in konsole,but kwin crashes.
I also find that
pkill b
pkill c
pkill ad
have strange effect too.
:D
Back to top
View user's profile Send private message
lexflex
Guru
Guru


Joined: 05 Mar 2006
Posts: 326
Location: the Netherlands

PostPosted: Sat Jan 11, 2014 7:32 am    Post subject: Re: How to kill the propram which named "a" ? Reply with quote

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.
:D


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
View user's profile Send private message
Hypnos
Advocate
Advocate


Joined: 18 Jul 2002
Posts: 2889
Location: Omnipresent

PostPosted: Sat Jan 11, 2014 7:34 am    Post subject: Reply with quote

Not surprising if you understand how pkill uses the argument to find processes to kill.
_________________
Personal overlay | Simple backup scheme
Back to top
View user's profile Send private message
Apheus
Guru
Guru


Joined: 12 Jul 2008
Posts: 416

PostPosted: Sat Jan 11, 2014 3:58 pm    Post subject: Reply with quote

According to "man pgrep", the following should work:

Code:
pkill -x a


-x = "exact"
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum