Although Linux Mint and Ubuntu (eOS is still a beta distro) are solid and stable operating systems, you can’t avoid program computer freezes due to the nature of the installed program itself. The beauty of Linux is its superior CPU and memory management. Linux hardly becomes frozen on the entire OS level. Hence, when your computer is not responding, you can just terminate the culprit program only instead of hitting the power off button.
Kill a frozen Program in Ubuntu, Linux Mint, and elementary OS
In this session of our Terminal Tuts series, I will show you couple of ways to kill a program.
Method 1: Using ‘Kill All’ Command-line
STEP 1: Launch ‘Terminal’. Best way to do this is by pressing CTRL+ALT+T simultaneously.
STEP 2: Use the command killall followed by program name that is not responding. The generic format is sudo killall program_name. For example if you want to kill chrome browser, the command is as follows:
sudo killall chrome
Method 2: Using ‘X Kill’ Command-line
STEP 1: Launch ‘Terminal’ by pressing CTRL+ALT+T simultaneously.
STEP 2: Use xkill command. This command is very powerful. This command will turn your mouse cursor into killing machine. While in this mode, click on the frozen window and the program is terminated!
Did you find these commands useful?