Terminate a running CentOS program using xkill


When an application is unresponsive in CentOS it sometimes requires the task be terminated. This is a neat trick to closing a application with minimal command line use.

Start by opening your terminal. Then type the following command:

Now click on the window you want to terminate. The program will automatically get the pid from the application window and terminate the process.

Output after click: