I came across a really simple problem while using my Linux OS. I am used to the CTRL+ALT+DEL in Windows to open the Task Manager to close programs. I wasn’t sure how to do the same in a Linux environment.
To close a program in Linux from the command line, there are two options:
If you don’t know the name of the application, you can use this one. It will prompt you to click on the window of the application you are trying to close.
After clicking on it, the program will immediately close.
$ sudo xkill
If you know the name of the application, you can type:
$ sudo killall <name of application>
$ sudo killall firefox