link to content
Essentials at NC State Home
skip header navigation and go to content Help | ResNet | Computing@NC State | For OIT Staff | Publications | Search NC State | Feedback | Site Map
your unity account
antivirus & security
email & messaging
connections & labs
your computer
software@nc state
files
web pages
education & training
publications
other resources
troubleshooting
ITD Sections

Killing a process

Killing a process interrupts it and then terminates it.

Killing a foreground process

You can sometimes kill a process that is in the foreground by typing Control-c. To do so, press and hold down the Control key and then press c. There is no warning or exit message when you use this method.

Another way to kill a process is by first making its window active (click on the window to bring it to the top) and then pressing Meta-q. Your machine's Meta key may be called Alt or Meta, or it may have a small diamond on it. You'll have to experiment a bit to find out which works. Not all processes respond to this method.

Killing a background process

To kill a process that is already in the background, use the kill command, whose syntax is

kill %job_number or PID

That is, you type kill % and then the job number or PID. For example

unity% kill 22632
[1]    Terminated             oclock
unity%

 

Last modified July 20, 2004 by cawalker

jump back to content/page ends, begin footer
jump to content
jump to content Go to page top Page Top | Site Map | OIT | Policy Disclaimer | Site Survey