sangkrit

Killing Program


<Ctrl>c kills any text-mode program running in the foreground. This don’t work for large applications which block the <Ctrl>c, so it is not used on them randomly. You may get control back, either by sending the program to the background by pressing <Ctrl>z

(no guarantee of this to work) or switching to a different terminal using

<Ctrl><Alt><F2> and login as the same user that hanged the program. After getting back find the program you want to terminate, like:

ps

This command stands for “print status” it shows the list of programs that are currently being run by the current user. In the ps output, find the process id (PID) of the program that hanged and kill it.


Leave a Reply