Saltar al contenido
Contact : alejandrasalcedo0288@gmail.com

Close frozen processes in Ubuntu

Ubuntu on old PC

There are certain occasions when the system stops working correctly or with the fluidity it should Because of the hanging of a window or application, we can try to close it from the window but there will be times when we will need to kill the process that is causing conflict, today in Root we will teach you how to do it.

Kill a process by your PID

It is the most accurate way to kill a process, using its PID, acronym of Process Identifier in English. In order to use this method we must first find out the PID of the process we want to destroy. Using for example Firefox, we find out this way:

ps -ef | grep firefox

Y the terminal return something like this:

1986 ?        Sl     7:22 /usr/lib/firefox-3.5.3/firefox

Using the PID that we found out in the previous step let's kill the process in this way:

kill -9 1986

It is a way simpler, but more risky:

killall nombredelproceso

We must keep in mind that Using this command we close all open instances of the same process.

Kill a process for a part of your name

Using this command we will not need to remember the full name or the PID of a process:

pkill partedelnombre

The problem that this it can cause unwanted processes to be killed just because they contain the word we have entered.

Kill a process by selecting the window with the mouse

The method simpler, more practical and fasterWhen your PC crashes, press ALT + F2, a box will open that allows you to enter commands, type this:

xkill

After simply select the sale You want to close and be done.


You have already learned how to kill frozen processes in a really simple way in Ubuntu, little by little, if you are new to this Linux world, you will be realizing the importance of the terminal, the power and possibilities it gives us. This article can be really useful if you come from Windows and you miss the Task Manager When your team crashes Has the article been useful to you? Do not forget to leave your comment.

. (tagsToTranslate) Terminal (t) Ubuntu

Rate this post