Sunday, March 10, 2013

Terminate Process in Linux (using terminal)

This post describes how to terminate a process in Linux using terminal.
Step 01: type 'ps x' to find the process ID
You will see the set of process and related process IDs.



Step 02: find the process you need to terminate from the description.Then find the process ID of it. For example I need to terminate currently playing MP3. I found the relevant process ID is   '4186'.


Step 03: type 'kill' <space> process ID to terminate the process.In  this example I type
 'kill 4186'.



Now the process is terminated. :)

3 comments:

  1. This was really helpful for my studies, because i always wanted to stop a process in my linux and didn't know how to do that. thank you so much!

    ReplyDelete
  2. Thanks...................................

    ReplyDelete