How To Kill a Process in the Linux terminal

How To Kill a Process in the Linux terminal


In this how-to we’ll look at various ways of using the terminal emulator to identify processes and how to kill them. A process can be an application or script running on your Linux machine. Sometimes a process can crash or become a memory hog and this is when we need to step in and “kill” the process. As ever, there are a multitude of tools that we can use to do this. We will use a variety of approaches and tools to identify and kill the processes.

While you become accustomed to these commands, it’s important to take care that you don’t kill a process which results in you losing work. Wherever possible use an application that isn’t currently in use on your machine as an example of a process to kill.



Source link

Leave a Reply

Your email address will not be published. Required fields are marked *