14
rated 0 times
[
14]
[
0]
/ answers: 1 / hits: 20496
/ 1 Year ago, fri, november 25, 2022, 2:23:44
I'm wondering if there is keyboard shortcut to close terminal window?
More From » command-line
I'm wondering if there is keyboard shortcut to close terminal window?
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.