What is keyboard shortcut to close terminal window?

18,875

Solution 1

An active terminal will quit if you tell it there's no more input.
That can be done with a quick Control+D.

If you have things running (or something already typed into a terminal input), that won't work. You'll either have exit or clear the line. Control+C will usually work for that.

Alternatively, running exit isn't much of a hardship.

Note that these will bump you out of one layer of shell. If you start this in a subshell of a subshell, logged into something over SSH, it'll take a few goes to close the window.

Solution 2

CTRL + SHIFT + Q

If you go to menu FILE > CLOSE WINDOW you will see the shortcut there, and many others

Alternatively, (this is a general approach running I would say any application under GNOME)

ALT + F4

Share:
18,875

Related videos on Youtube

micgeronimo
Author by

micgeronimo

Updated on September 18, 2022

Comments

  • micgeronimo
    micgeronimo over 1 year

    I'm wondering if there is keyboard shortcut to close terminal window?

  • Fabby
    Fabby over 9 years
    Thanks again... I knew of [Ctrl][D] for applications, just never tried it on bash itself...