[SOLVED] Close all open terminals

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
User avatar
enchance
Level 3
Level 3
Posts: 107
Joined: Mon Nov 19, 2007 3:36 am
Contact:

[SOLVED] Close all open terminals

Post by enchance » Tue Jan 05, 2010 12:25 pm

Let's say I have 5 terminals which are open (separate terminals, not in tabs), is there a bash command which will close ALL terminals at the same time instead of typing 'exit' to each terminal one-by-one?
Last edited by enchance on Tue Jan 05, 2010 1:38 pm, edited 1 time in total.
It's not that hard to train a pengiun to do stunts. Just say, sudo roll-over or sudo play-dead.
Caffeine-induced designs by http://www.johnimbong.com


Image

Anaxis
Level 2
Level 2
Posts: 71
Joined: Tue Aug 04, 2009 8:34 pm

Re: Close all open terminals

Post by Anaxis » Tue Jan 05, 2010 12:38 pm

Assuming you're using Gnome, the command

Code: Select all

killall gnome-terminal
should do the trick.
"People should better think of their computing devices as facilities lended by the DHS." -Berke Durak, Linux wipe (secure file deletion) development.

User avatar
enchance
Level 3
Level 3
Posts: 107
Joined: Mon Nov 19, 2007 3:36 am
Contact:

Re: Close all open terminals

Post by enchance » Tue Jan 05, 2010 1:33 pm

Anaxis wrote:Assuming you're using Gnome, the command

Code: Select all

killall gnome-terminal
should do the trick.
I was hoping there would be more "humane" way but I guess the only way to close all would be to kill it. :lol:
It's not that hard to train a pengiun to do stunts. Just say, sudo roll-over or sudo play-dead.
Caffeine-induced designs by http://www.johnimbong.com


Image

DruKe
Level 3
Level 3
Posts: 103
Joined: Mon Sep 28, 2009 6:54 pm
Location: Sheboygan, WI
Contact:

Re: [SOLVED] Close all open terminals

Post by DruKe » Tue Jan 05, 2010 3:09 pm

CTRL + D in each is a real quick way. It's not a head shot but tapping CTRL + D quickly makes it easier.
If your problem has been solved, PLEASE add [SOLVED] to your subject line! It helps everyone!

Post Reply

Return to “Newbie Questions”