I'm reiterating the question from this question on purpose. I don't have the reputation to write a comment, sorry!

I found a keyboard shortcut for killing all Terminal windows and it prompts me to confirm that I want to close if Vim or some other program is open! Unfortunately, I don't know which keys I press; it happened accidentally.

I'm running Ubuntu 16.04.

This question has been asked in one form or another before, including here. What is the actual keyboard shortcut?

  • 3
    Do you mean Ctrl+Shift+Q?
    – dessert
    Dec 19, 2017 at 18:54

1 Answer 1


Adding to the comment by Sourav Ghosh,

Some more helpful terminal shortcuts:

  • Ctrl+Shift+Q to kill all
  • Ctrl+Shift+W to kill one
  • Ctrl+Shift+N to make a new terminal pointing at the same directory
  • Ctrl+Shift+T to make a new terminal in a tab pointing at the same directory
  • 2
    Do you mean the comment by dessert? Sourav Ghosh has made no comment I can see.
    – muru
    Apr 6, 2018 at 3:54
  • Ctrl + Shift + Q only killed one terminal for me
    – Shanteva
    Aug 5, 2022 at 20:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.