Saturday 10 May 2008

Closing applications that have hung

As you may know, if anything hangs in Windows, you can open the Task Manager and use that to close the misbehaving program. You may be missing similar functionality in Linux. Well, it's there, so here's how to use it!

First of all, let's cover command line applications. Say, for instance, that you try and install something using apt-get install, but your Internet connection is playing up, so you decide to stop it and try again later. How do you cancel what you're doing? Simple - just make sure your shell session is selected, press Ctrl and C, and it will stop dead.

This is very useful, but most people still use graphical applications for most things. How do you stop these? Again, there's an easy way to do it. Just open the command line and type the following:
xkill

Now, the cursor will change to an X. Just click on whatever you want to stop and it will be shut down.

1 comment:

Heather said...

Ooooo. Thank you. I was about to search the forums for the answer to this one since occasionally the new Firefox hangs.