How to close a GNOME terminal tab from the keyboard?What does the Ctrl-Alt-+ shortcut do?How do I switch the...
Is Electric Central Heating worth it if using Solar Panels?
Nails holding drywall
Is there any pythonic way to find average of specific tuple elements in array?
Which big number is bigger?
Complex numbers z=-3-4i polar form
How exactly does Hawking radiation decrease the mass of black holes?
Difficulty accessing OpenType ligatures with LuaLaTex and fontspec
How to pronounce 'c++' in Spanish
Can I criticise the more senior developers around me for not writing clean code?
Philosophical question on logistic regression: why isn't the optimal threshold value trained?
What does a straight horizontal line above a few notes, after a changed tempo mean?
Multiple fireplaces in an apartment building?
Magical attacks and overcoming damage resistance
How much cash can I safely carry into the USA and avoid civil forfeiture?
Is Diceware more secure than a long passphrase?
Does a large simulator bay have standard public address announcements?
Is there metaphorical meaning of "aus der Haft entlassen"?
Could moose/elk survive in the Amazon forest?
Can a level 2 Warlock take one level in rogue, then continue advancing as a warlock?
Will I lose my paid in full property
Why do distances seem to matter in the Foundation world?
Do I need to watch Ant-Man and the Wasp and Captain Marvel before watching Avengers: Endgame?
How do I deal with a coworker that keeps asking to make small superficial changes to a report, and it is seriously triggering my anxiety?
I preordered a game on my Xbox while on the home screen of my friend's account. Which of us owns the game?
How to close a GNOME terminal tab from the keyboard?
What does the Ctrl-Alt-+ shortcut do?How do I switch the keyboard layout so that the Apple key is CTRL and the ~ works correctly?How to make alt-w close current tab, not current window, in Gnome ShellHow can I gracefully close all instances of gnome-terminalAuto-click the mouse while specific keyboard button is held downNavigate search links in chromiumLaunch terminal from keyboard shortcut, run interactive command and exit in Ubuntu 17.10Launch command in gnome-terminal, then close gnome-terminal without ending executed command?How to close GNOME Terminal search window shortcut key?How can Shift+Alt+Tab navigation be enabled in GNOME when Alt+Shift cycles between multiple keyboard layouts?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
I'm not talking about closing the terminal window itself which you can easily do by using the exit command. I'm talking about closing a tab that you have originally opened up by pressing the CtrlShiftT key combination. When I'm done working with it, I would like to close it down without lifting my hands up from the keyboard and going for the mouse to click that small X button. Is there a command for that?

shortcut-keys gnome-terminal
add a comment |
I'm not talking about closing the terminal window itself which you can easily do by using the exit command. I'm talking about closing a tab that you have originally opened up by pressing the CtrlShiftT key combination. When I'm done working with it, I would like to close it down without lifting my hands up from the keyboard and going for the mouse to click that small X button. Is there a command for that?

shortcut-keys gnome-terminal
6
Just exit the shell (ctrl-d)? The other tab will remain open.
– muru
Mar 4 '16 at 13:06
So, I can use either exit or Ctrl+D to close a tab. Thank you.
– misha
Mar 4 '16 at 13:11
A keyboard shortcut could actually be useful if you're trying to close a tab with a frozen unresponsive ssh session...
– Yibo Yang
Aug 11 '16 at 2:51
add a comment |
I'm not talking about closing the terminal window itself which you can easily do by using the exit command. I'm talking about closing a tab that you have originally opened up by pressing the CtrlShiftT key combination. When I'm done working with it, I would like to close it down without lifting my hands up from the keyboard and going for the mouse to click that small X button. Is there a command for that?

shortcut-keys gnome-terminal
I'm not talking about closing the terminal window itself which you can easily do by using the exit command. I'm talking about closing a tab that you have originally opened up by pressing the CtrlShiftT key combination. When I'm done working with it, I would like to close it down without lifting my hands up from the keyboard and going for the mouse to click that small X button. Is there a command for that?

shortcut-keys gnome-terminal
shortcut-keys gnome-terminal
edited Mar 7 '16 at 16:14
Seth♦
35.5k27113168
35.5k27113168
asked Mar 4 '16 at 13:06
mishamisha
4261718
4261718
6
Just exit the shell (ctrl-d)? The other tab will remain open.
– muru
Mar 4 '16 at 13:06
So, I can use either exit or Ctrl+D to close a tab. Thank you.
– misha
Mar 4 '16 at 13:11
A keyboard shortcut could actually be useful if you're trying to close a tab with a frozen unresponsive ssh session...
– Yibo Yang
Aug 11 '16 at 2:51
add a comment |
6
Just exit the shell (ctrl-d)? The other tab will remain open.
– muru
Mar 4 '16 at 13:06
So, I can use either exit or Ctrl+D to close a tab. Thank you.
– misha
Mar 4 '16 at 13:11
A keyboard shortcut could actually be useful if you're trying to close a tab with a frozen unresponsive ssh session...
– Yibo Yang
Aug 11 '16 at 2:51
6
6
Just exit the shell (ctrl-d)? The other tab will remain open.
– muru
Mar 4 '16 at 13:06
Just exit the shell (ctrl-d)? The other tab will remain open.
– muru
Mar 4 '16 at 13:06
So, I can use either exit or Ctrl+D to close a tab. Thank you.
– misha
Mar 4 '16 at 13:11
So, I can use either exit or Ctrl+D to close a tab. Thank you.
– misha
Mar 4 '16 at 13:11
A keyboard shortcut could actually be useful if you're trying to close a tab with a frozen unresponsive ssh session...
– Yibo Yang
Aug 11 '16 at 2:51
A keyboard shortcut could actually be useful if you're trying to close a tab with a frozen unresponsive ssh session...
– Yibo Yang
Aug 11 '16 at 2:51
add a comment |
4 Answers
4
active
oldest
votes
When the shell process inside the terminal tab exits, it will close. If it was the only tab, the entire window will close. So you just have to quit the Bash session.
Your Bash session quits...
- when you type the command
exit. - when you press Ctrl+D to send an
EOT("End Of Transmission") code.
Note that it must be pressed when the command prompt is empty, i.e. you haven't typed anything else on that line yet.
Please also note that you can nest multiple interactive shells. You can start a new shell inside the current one by running e.g. bash, sh, python, bc, ... The exit and Ctrl+D will always only terminate the currently active shell, which is usually the innermost one.
when you press ctrl-d ... on an otherwise empty prompt.
– muru
Mar 4 '16 at 14:10
@muru Yes, that's correct. I'll add it.
– Byte Commander
Mar 4 '16 at 14:13
another small addition: if you are inside more than 1 shell ... it will exit the shell and not close the tab. (ie. "bash" "bash" "bash" requires 4 control-d's for the tab to close)
– Rinzwind
Mar 4 '16 at 15:10
@Rinzwind Ooohhhkay... I'll add that as well ;-)
– Byte Commander
Mar 4 '16 at 15:21
1
Might be worth noting that Ctrl+u will clear the current line of the terminal so ctrl+u, ctrl+d will exit.
– Holloway
Mar 6 '16 at 10:32
|
show 4 more comments
From the GNOME Terminal help:
- Close Tab: ShiftCtrlW
- Close Window: ShiftCtrlQ
3
Those are the defaults. See "Terminal" "preferences" "shortcuts" in case these do not work and "someone" changed them and forgot about the change. The other answers are ever so slightly flawed: exit or control-d only works on the 1st level (if you type "bash" you need 2 exits) and on an empty prompt.
– Rinzwind
Mar 4 '16 at 15:08
add a comment |
You already mentioned it, type exit and the tab (as well as the terminal session running within the tab) will be closed.
add a comment |
Like @YiboYang mentioned in comments, it is not possible to do Ctrl + W or exit in some cases:
A keyboard shortcut could actually be useful if you're trying to close a tab with a frozen unresponsive ssh session.
That shorcut can be viewed/changed from the Menu bar, via File>Terminal>Preferences>Shortcuts
GNOME terminal preferences
It is highlighted in the image above. Double-click on the Shortcut key and simple key-in a new combination to assign to it,
E.g. I have set mine as Ctrl + W to be synchronous with the standard browser shortcut to close a tab.
New contributor
satvik.t is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f742025%2fhow-to-close-a-gnome-terminal-tab-from-the-keyboard%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
4 Answers
4
active
oldest
votes
4 Answers
4
active
oldest
votes
active
oldest
votes
active
oldest
votes
When the shell process inside the terminal tab exits, it will close. If it was the only tab, the entire window will close. So you just have to quit the Bash session.
Your Bash session quits...
- when you type the command
exit. - when you press Ctrl+D to send an
EOT("End Of Transmission") code.
Note that it must be pressed when the command prompt is empty, i.e. you haven't typed anything else on that line yet.
Please also note that you can nest multiple interactive shells. You can start a new shell inside the current one by running e.g. bash, sh, python, bc, ... The exit and Ctrl+D will always only terminate the currently active shell, which is usually the innermost one.
when you press ctrl-d ... on an otherwise empty prompt.
– muru
Mar 4 '16 at 14:10
@muru Yes, that's correct. I'll add it.
– Byte Commander
Mar 4 '16 at 14:13
another small addition: if you are inside more than 1 shell ... it will exit the shell and not close the tab. (ie. "bash" "bash" "bash" requires 4 control-d's for the tab to close)
– Rinzwind
Mar 4 '16 at 15:10
@Rinzwind Ooohhhkay... I'll add that as well ;-)
– Byte Commander
Mar 4 '16 at 15:21
1
Might be worth noting that Ctrl+u will clear the current line of the terminal so ctrl+u, ctrl+d will exit.
– Holloway
Mar 6 '16 at 10:32
|
show 4 more comments
When the shell process inside the terminal tab exits, it will close. If it was the only tab, the entire window will close. So you just have to quit the Bash session.
Your Bash session quits...
- when you type the command
exit. - when you press Ctrl+D to send an
EOT("End Of Transmission") code.
Note that it must be pressed when the command prompt is empty, i.e. you haven't typed anything else on that line yet.
Please also note that you can nest multiple interactive shells. You can start a new shell inside the current one by running e.g. bash, sh, python, bc, ... The exit and Ctrl+D will always only terminate the currently active shell, which is usually the innermost one.
when you press ctrl-d ... on an otherwise empty prompt.
– muru
Mar 4 '16 at 14:10
@muru Yes, that's correct. I'll add it.
– Byte Commander
Mar 4 '16 at 14:13
another small addition: if you are inside more than 1 shell ... it will exit the shell and not close the tab. (ie. "bash" "bash" "bash" requires 4 control-d's for the tab to close)
– Rinzwind
Mar 4 '16 at 15:10
@Rinzwind Ooohhhkay... I'll add that as well ;-)
– Byte Commander
Mar 4 '16 at 15:21
1
Might be worth noting that Ctrl+u will clear the current line of the terminal so ctrl+u, ctrl+d will exit.
– Holloway
Mar 6 '16 at 10:32
|
show 4 more comments
When the shell process inside the terminal tab exits, it will close. If it was the only tab, the entire window will close. So you just have to quit the Bash session.
Your Bash session quits...
- when you type the command
exit. - when you press Ctrl+D to send an
EOT("End Of Transmission") code.
Note that it must be pressed when the command prompt is empty, i.e. you haven't typed anything else on that line yet.
Please also note that you can nest multiple interactive shells. You can start a new shell inside the current one by running e.g. bash, sh, python, bc, ... The exit and Ctrl+D will always only terminate the currently active shell, which is usually the innermost one.
When the shell process inside the terminal tab exits, it will close. If it was the only tab, the entire window will close. So you just have to quit the Bash session.
Your Bash session quits...
- when you type the command
exit. - when you press Ctrl+D to send an
EOT("End Of Transmission") code.
Note that it must be pressed when the command prompt is empty, i.e. you haven't typed anything else on that line yet.
Please also note that you can nest multiple interactive shells. You can start a new shell inside the current one by running e.g. bash, sh, python, bc, ... The exit and Ctrl+D will always only terminate the currently active shell, which is usually the innermost one.
edited Mar 4 '16 at 15:23
answered Mar 4 '16 at 14:06
Byte CommanderByte Commander
67.2k27181311
67.2k27181311
when you press ctrl-d ... on an otherwise empty prompt.
– muru
Mar 4 '16 at 14:10
@muru Yes, that's correct. I'll add it.
– Byte Commander
Mar 4 '16 at 14:13
another small addition: if you are inside more than 1 shell ... it will exit the shell and not close the tab. (ie. "bash" "bash" "bash" requires 4 control-d's for the tab to close)
– Rinzwind
Mar 4 '16 at 15:10
@Rinzwind Ooohhhkay... I'll add that as well ;-)
– Byte Commander
Mar 4 '16 at 15:21
1
Might be worth noting that Ctrl+u will clear the current line of the terminal so ctrl+u, ctrl+d will exit.
– Holloway
Mar 6 '16 at 10:32
|
show 4 more comments
when you press ctrl-d ... on an otherwise empty prompt.
– muru
Mar 4 '16 at 14:10
@muru Yes, that's correct. I'll add it.
– Byte Commander
Mar 4 '16 at 14:13
another small addition: if you are inside more than 1 shell ... it will exit the shell and not close the tab. (ie. "bash" "bash" "bash" requires 4 control-d's for the tab to close)
– Rinzwind
Mar 4 '16 at 15:10
@Rinzwind Ooohhhkay... I'll add that as well ;-)
– Byte Commander
Mar 4 '16 at 15:21
1
Might be worth noting that Ctrl+u will clear the current line of the terminal so ctrl+u, ctrl+d will exit.
– Holloway
Mar 6 '16 at 10:32
when you press ctrl-d ... on an otherwise empty prompt.
– muru
Mar 4 '16 at 14:10
when you press ctrl-d ... on an otherwise empty prompt.
– muru
Mar 4 '16 at 14:10
@muru Yes, that's correct. I'll add it.
– Byte Commander
Mar 4 '16 at 14:13
@muru Yes, that's correct. I'll add it.
– Byte Commander
Mar 4 '16 at 14:13
another small addition: if you are inside more than 1 shell ... it will exit the shell and not close the tab. (ie. "bash" "bash" "bash" requires 4 control-d's for the tab to close)
– Rinzwind
Mar 4 '16 at 15:10
another small addition: if you are inside more than 1 shell ... it will exit the shell and not close the tab. (ie. "bash" "bash" "bash" requires 4 control-d's for the tab to close)
– Rinzwind
Mar 4 '16 at 15:10
@Rinzwind Ooohhhkay... I'll add that as well ;-)
– Byte Commander
Mar 4 '16 at 15:21
@Rinzwind Ooohhhkay... I'll add that as well ;-)
– Byte Commander
Mar 4 '16 at 15:21
1
1
Might be worth noting that Ctrl+u will clear the current line of the terminal so ctrl+u, ctrl+d will exit.
– Holloway
Mar 6 '16 at 10:32
Might be worth noting that Ctrl+u will clear the current line of the terminal so ctrl+u, ctrl+d will exit.
– Holloway
Mar 6 '16 at 10:32
|
show 4 more comments
From the GNOME Terminal help:
- Close Tab: ShiftCtrlW
- Close Window: ShiftCtrlQ
3
Those are the defaults. See "Terminal" "preferences" "shortcuts" in case these do not work and "someone" changed them and forgot about the change. The other answers are ever so slightly flawed: exit or control-d only works on the 1st level (if you type "bash" you need 2 exits) and on an empty prompt.
– Rinzwind
Mar 4 '16 at 15:08
add a comment |
From the GNOME Terminal help:
- Close Tab: ShiftCtrlW
- Close Window: ShiftCtrlQ
3
Those are the defaults. See "Terminal" "preferences" "shortcuts" in case these do not work and "someone" changed them and forgot about the change. The other answers are ever so slightly flawed: exit or control-d only works on the 1st level (if you type "bash" you need 2 exits) and on an empty prompt.
– Rinzwind
Mar 4 '16 at 15:08
add a comment |
From the GNOME Terminal help:
- Close Tab: ShiftCtrlW
- Close Window: ShiftCtrlQ
From the GNOME Terminal help:
- Close Tab: ShiftCtrlW
- Close Window: ShiftCtrlQ
answered Mar 4 '16 at 13:12
murumuru
1
1
3
Those are the defaults. See "Terminal" "preferences" "shortcuts" in case these do not work and "someone" changed them and forgot about the change. The other answers are ever so slightly flawed: exit or control-d only works on the 1st level (if you type "bash" you need 2 exits) and on an empty prompt.
– Rinzwind
Mar 4 '16 at 15:08
add a comment |
3
Those are the defaults. See "Terminal" "preferences" "shortcuts" in case these do not work and "someone" changed them and forgot about the change. The other answers are ever so slightly flawed: exit or control-d only works on the 1st level (if you type "bash" you need 2 exits) and on an empty prompt.
– Rinzwind
Mar 4 '16 at 15:08
3
3
Those are the defaults. See "Terminal" "preferences" "shortcuts" in case these do not work and "someone" changed them and forgot about the change. The other answers are ever so slightly flawed: exit or control-d only works on the 1st level (if you type "bash" you need 2 exits) and on an empty prompt.
– Rinzwind
Mar 4 '16 at 15:08
Those are the defaults. See "Terminal" "preferences" "shortcuts" in case these do not work and "someone" changed them and forgot about the change. The other answers are ever so slightly flawed: exit or control-d only works on the 1st level (if you type "bash" you need 2 exits) and on an empty prompt.
– Rinzwind
Mar 4 '16 at 15:08
add a comment |
You already mentioned it, type exit and the tab (as well as the terminal session running within the tab) will be closed.
add a comment |
You already mentioned it, type exit and the tab (as well as the terminal session running within the tab) will be closed.
add a comment |
You already mentioned it, type exit and the tab (as well as the terminal session running within the tab) will be closed.
You already mentioned it, type exit and the tab (as well as the terminal session running within the tab) will be closed.
answered Mar 4 '16 at 13:08
Gasp0deGasp0de
45229
45229
add a comment |
add a comment |
Like @YiboYang mentioned in comments, it is not possible to do Ctrl + W or exit in some cases:
A keyboard shortcut could actually be useful if you're trying to close a tab with a frozen unresponsive ssh session.
That shorcut can be viewed/changed from the Menu bar, via File>Terminal>Preferences>Shortcuts
GNOME terminal preferences
It is highlighted in the image above. Double-click on the Shortcut key and simple key-in a new combination to assign to it,
E.g. I have set mine as Ctrl + W to be synchronous with the standard browser shortcut to close a tab.
New contributor
satvik.t is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
Like @YiboYang mentioned in comments, it is not possible to do Ctrl + W or exit in some cases:
A keyboard shortcut could actually be useful if you're trying to close a tab with a frozen unresponsive ssh session.
That shorcut can be viewed/changed from the Menu bar, via File>Terminal>Preferences>Shortcuts
GNOME terminal preferences
It is highlighted in the image above. Double-click on the Shortcut key and simple key-in a new combination to assign to it,
E.g. I have set mine as Ctrl + W to be synchronous with the standard browser shortcut to close a tab.
New contributor
satvik.t is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
Like @YiboYang mentioned in comments, it is not possible to do Ctrl + W or exit in some cases:
A keyboard shortcut could actually be useful if you're trying to close a tab with a frozen unresponsive ssh session.
That shorcut can be viewed/changed from the Menu bar, via File>Terminal>Preferences>Shortcuts
GNOME terminal preferences
It is highlighted in the image above. Double-click on the Shortcut key and simple key-in a new combination to assign to it,
E.g. I have set mine as Ctrl + W to be synchronous with the standard browser shortcut to close a tab.
New contributor
satvik.t is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Like @YiboYang mentioned in comments, it is not possible to do Ctrl + W or exit in some cases:
A keyboard shortcut could actually be useful if you're trying to close a tab with a frozen unresponsive ssh session.
That shorcut can be viewed/changed from the Menu bar, via File>Terminal>Preferences>Shortcuts
GNOME terminal preferences
It is highlighted in the image above. Double-click on the Shortcut key and simple key-in a new combination to assign to it,
E.g. I have set mine as Ctrl + W to be synchronous with the standard browser shortcut to close a tab.
New contributor
satvik.t is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
satvik.t is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
answered 14 hours ago
satvik.tsatvik.t
111
111
New contributor
satvik.t is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
satvik.t is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
satvik.t is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f742025%2fhow-to-close-a-gnome-terminal-tab-from-the-keyboard%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
6
Just exit the shell (ctrl-d)? The other tab will remain open.
– muru
Mar 4 '16 at 13:06
So, I can use either exit or Ctrl+D to close a tab. Thank you.
– misha
Mar 4 '16 at 13:11
A keyboard shortcut could actually be useful if you're trying to close a tab with a frozen unresponsive ssh session...
– Yibo Yang
Aug 11 '16 at 2:51