OnWorks Linux and Windows Online WorkStations

Logo

Free Hosting Online for WorkStations

< Previous | Contents | Next >

Interrupting A Process

Let's observe what happens when we run xlogo again. First, enter the xlogo command and verify that the program is running. Next, return to the terminal window and press Ctrl-c.


[me@linuxbox ~]$ xlogo

[me@linuxbox ~]$

[me@linuxbox ~]$ xlogo

[me@linuxbox ~]$


In a terminal, pressing Ctrl-c, interrupts a program. This means that we politely asked the program to terminate. After we pressed Ctrl-c, the xlogo window closed and the shell prompt returned.

Many (but not all) command-line programs can be interrupted by using this technique.


Top OS Cloud Computing at OnWorks: