LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-12-2003, 08:14 AM   #1
kewlchen
LQ Newbie
 
Registered: Aug 2003
Posts: 9

Rep: Reputation: 0
Question How to kill my program?


Hi everyone. I just start a job "fcitx" from shell and put it running background, but I have no idea how to kill it. Please give me a hint. Many thanks.
 
Old 08-12-2003, 08:18 AM   #2
tangle
Senior Member
 
Registered: Apr 2002
Location: Smithville, TN
Distribution: Slackware
Posts: 1,749

Rep: Reputation: 71
ps x | grep fcltx
this will return a process number

kill <process number>
this will kill that process
 
Old 08-12-2003, 08:33 AM   #3
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Or just foreground it and kill it however you normally would. (Not sure what 'fcitx' is.)
 
Old 08-12-2003, 09:09 AM   #4
kewlchen
LQ Newbie
 
Registered: Aug 2003
Posts: 9

Original Poster
Rep: Reputation: 0
To digiot, fcitx is just a chinese input program. And I am just a newby and don't know how to foreground it

To tangle, I typed the command and it returned:
3600 pts/2 S 0:00 fcitx
is 3600 the process number?

if I kill it, is the command like "kill !3600"?

Thanks
 
Old 08-12-2003, 09:13 AM   #5
kewlchen
LQ Newbie
 
Registered: Aug 2003
Posts: 9

Original Poster
Rep: Reputation: 0
I tried "kill 3600", but the shell showed "fcitx:Abnormal exit", can someone tell me why?
 
Old 08-12-2003, 09:16 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
why? because you killed it....! that's not exactly normal is it?
 
Old 08-12-2003, 02:56 PM   #7
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
There's a difference between recieving the default signal from kill, and the signal from a close button, right?
 
Old 08-12-2003, 04:40 PM   #8
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
As far as I know, 'fg' will do it. But you might have to ctrl-c after, come to think of it.

*g* @ acid_kewpie

'fcitx: argh! 'tis a mortal wound. I die...'
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how kill a program SciYro Linux - Newbie 5 07-11-2004 05:20 AM
how to kill a program in KDE ? juanb Linux - Newbie 8 11-20-2003 08:59 PM
cannot kill a program Chooco Linux - General 19 07-23-2003 08:01 AM
How to kill program that has crashed? glock19 Linux - General 3 01-11-2002 02:49 PM
Kill a program tunedLow Linux - Newbie 3 10-27-2001 03:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration