Ubuntu – How to kill applications like on Windows

command linekill

I looked it up on google but I didn't find anything helpful.

Anyway, I was playing Crysis 2 (with PlayOnLinux) and the game crashed, but I could't kill the process, I tried Ctrl+Alt+T but nothing but the game appeared on the screen, I had to Ctrl+Alt+Del and finish the session, also losing all my work.

On Windows there's the Windows Key (which opens the Unity Panel), but I can't do anything. And there's Ctrl+Alt+Del which opens all the processes (on Windows) but the terminal doesn't show up on me (Ctrl+Alt+T), I can't kill any process.

Any help?

Best Answer

My favorite way to do that is

Ctrl+Alt+F1

Then when you're logged back in run ps aux | grep program keep in mind that program should be replaced with the filename of the executable. In your case ps aux | grep wine, then you should see something like this:

david     1234  0.0  0.0 1595676 2700 ?        Sl   16:12   0:00 wine cmd.exe

Where it says cmd.exe yours will be the exe of your game. To kill the process

kill 1234 1234 being the Process ID that the previous command gave you; then Ctrl+Alt+F7

Related Question