Killing processes on Linux through terminal

How to kill processes on Linux by terminal

A tip for closing crashed programs

Just a little while ago I had a problem with a game that froze my entire graphical interface, the good side of using Linux could use the text line, so I went there Ctrl + Alt + 1 and went into text mode to solve the problem.

This is a very useful, difficult and much rarer tip for crashes on Linux, but they do happen and while on Windows for example you have no choice but to restart your computer, on Linux we can still resort to some gimmicks.

Stop for a program crashed by the terminal do the following, if you still have running graphics mode open any terminal ( Ctrl + Alt + T ) if you have problems, which was my case, press Crtl + Alt + 1 to enter text mode for your distro.

To list the processes running on our Linux we use the command:

ps -aux

Now the terminal will show you all the current processes in the system, now just identify the program you want to close: Process List

Click on the image to enlarge and improve your view. This command shows all the parameters of the processes that are running. second column you have the process id so you just use the command:

kill Num_ID

That way you finalize the software in text mode, and that was the solution to the problem I described at the beginning of the article,

Extra tip

When you enter text mode (Ctrl + Alt + 1) to return to graph mode just press Ctrl + Alt + 7 is Another good tip for terminating programs that crash using xKill, see more about it here.

See you next time!

Want to stay on top of everything that happens here?

So enjoy our page on FACEBOOK, follow the blog at TWITTER – Also follow our writers Founder of blog and channel Diolinux, passionate about technology and games.