Closing stuck up Program in Linux 101 using xkill and killall

Most of us including myself uses linux simply because of the following:
  1. You use Linux for development such as with LAMP
  2. You're running your own server
  3. You have old pc and Linux is the last OS option

We'll regardless of your reason, let me share to you what to do in case the application get stuck up and frozen. This case is very common to everyone.


There are two ways to do it:
---------------------------------
1. Via commands only in Terminal
2. Via commands in Terminal but using your mouse



How to do it:
---------------



Method 1 - xkill:
  • So press crtl+alt+t to open terminal or press alt+F2 and type gnome-terminal. 
  • Now type sudo xkill then notice your mouse cursor to see the awesomeness. From pointer, it will turn to have some x on it. 

Method 2 - killall:
  • So again just open your terminal.
  • Just simply type sudo killall [application]
  • The application is the name of the application you want to terminate. Best example is sudo killall chromium-browser

Cheers!

How to Close open Program in Linux ( Brute Force )

Posted on

Thursday, September 26, 2013

Category

,

,

,

,

Leave a Reply

I love comments hopefully you can put one.