Frequent Question: How Do I Close a Program in Ubuntu Terminal?
Contents

Type xkill into the dialog and press Enter. Your cursor will change to an X. Click a window and the xkill utility will determine what process is associated with that window, and then immediately kill that process. The window will instantly vanish and close.

How do you close a program in Linux terminal?

If you want to force quit “kill” a running command, you can use “Ctrl + C”. most of the applications running from the terminal will be forced to quit.

How do I close an application in terminal?

A simpler way of killing graphical applications is to use the xkill command. All you have to do is either type xkill into a terminal window or, if your desktop environment includes a run command, enter xkill into the run-command window. A crosshair appears on the screen. Click the window you want to kill.

Sarah Jenkins

Sarah Jenkins

Senior Technology Editor & AI Specialist

Sarah Jenkins is a veteran tech journalist with over 12 years of experience covering artificial intelligence, mobile innovations, and digital ethics. Her insights have appeared in leading technology publications worldwide.

Share this article
Twitter Facebook Pinterest