LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 11-02-2008, 05:15 AM   #1
rithik_ghoshal
Member
 
Registered: Aug 2006
Location: kolkata , India
Distribution: fedora (7,9), solaris (sxde 9/07 & 1/08), opensolaris 2008.05
Posts: 49

Rep: Reputation: 15
how ctrl+c works to terminate a process


Sorry if I am posting in a wrong place. I need to know how ctrl+c works in command line to terminate a process ? I have some idea about signal handling but not much. Can you give me some idea ?
 
Old 11-02-2008, 05:29 AM   #2
pinniped
Senior Member
 
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 50
The process is sent SIGINT; if the process does not handle (or disable) the signal, it is immediately killed, otherwise you can handle the signal and do whatever you want.
 
Old 11-02-2008, 08:01 AM   #3
rithik_ghoshal
Member
 
Registered: Aug 2006
Location: kolkata , India
Distribution: fedora (7,9), solaris (sxde 9/07 & 1/08), opensolaris 2008.05
Posts: 49

Original Poster
Rep: Reputation: 15
Thank you ..
 
  


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
terminate 'ping' without using ctrl-c tqa Linux - General 4 09-10-2008 11:47 PM
how to terminate dispatch.fcgi process properly sathiyamoorthy Debian 0 02-26-2008 11:20 PM
ctrl-c to terminate a process does not work geek1234 Linux - Newbie 1 12-26-2007 02:34 PM
ctrl+alt+F? no longer works seanr Linux - Software 6 10-04-2005 05:31 PM
How to send CTRL-D to child process via a pipe? neo_in_matrix Programming 10 09-15-2005 07:09 PM


All times are GMT -5. The time now is 07:16 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration