How Do I Close Apps in Ubuntu Terminal?
Contents

The Linux top command provides a terminal task manager that lists all the running processes on the computer. To kill a process within the top interface, press k and enter the process id next to the application you wish to close.

How do I close an application in terminal ubuntu?

You could also just run the xkill command — you could open a Terminal window, type xkill without the quotes, and press Enter. Or, you could press a shortcut like Alt+F2, which opens the “Run Command” dialog on Ubuntu’s Unity desktop and many others. Type xkill into the dialog and press Enter.

How do I close an application in terminal?

Alternatively, you can quit an application using shell command via Terminal.

  1. Launch Spotlight Search with Command + Spacebar and search for Terminal. …
  2. In Terminal, type ps -ax then Enter. …
  3. To kill (force quit) a specific application, look for its name and note down the PID number.
Elena Rostova

Elena Rostova

Lead Health, Wellness & Medical Journalist

Elena Rostova holds a Master's degree in Public Health Journalism. She covers groundbreaking medical research, holistic wellness trends, mental health awareness, and nutritional science.

Share this article
Twitter Facebook Pinterest