30

Is there any special characters involved? I want to be able to open a console connection in my application and exit upon completion of a task

10 Answers 10

57

To get out from a virsh console (with a standard English keyboard) try:

Ctrl+]

or

Ctrl+5

All those special keys are quite a problem when using keyboards other than a standard English one.

For example on a Swedish keyboard the combination would be: Ctrl+Shift+å

1
  • 1
    Something has definitely been lost in the translation of the second part of your answer.
    – Tog
    Oct 25, 2013 at 15:30
9
  • Danish keyboard:
    • Ctrl+Shift+^¨~
  • English keyboard:
    • Ctrl+Shift+5
    • Ctrl+Shift+]
  • French keyboard:
    • Ctrl+Shift+5
    • Ctrl+Shift+$€* (OS X)
  • German keyboard:
    • Ctrl+Shift+5
    • Strg+Shift+5
    • ctrl+alt+6 (Mac)
  • Norwegian keyboard:
    • Ctrl+Shift+^¨~
  • Swedish keyboard:
    • Ctrl+Shift+å (OS X)

2
  • Are there any other known key combinations? I have Slovenian keyboard and I tried all of the above options (same position and same keys) and none of them work. Apr 24, 2020 at 19:08
  • For me - German Keyboard, Ubuntu Linux, the solutions with "ctrl-shift-5" or "strg-shift-5" dont work. What's working is the solution decsribed as it's for Mac: "ctrl-alt-5" or "Strg-alt-5" (STrg" is just the German label for the control key, they are the same keys.
    – Henning
    Dec 2, 2021 at 14:13
2

Norwegian keyboard; CTRL + "^¨~" button

2
  • 1
    The Danish keyboard sequence is the same as the Norwegian one: CTRL + "^¨~" button Apr 23, 2015 at 12:16
  • This worked on a swedish keyboard
    – lijat
    Jul 21, 2020 at 6:45
0

With german keyboard Ctrl+5 worked. (Strg+5)

0

CTRL + +

worked for me. all the other solutions in here didn't

0
0

With French keyboard, OS X: Ctrl+$.  (On the Apple wireless French keyboard, $, , and * are on a key to the left of the Enter key.)  See this picture:

the Apple wireless French keyboard

2
0

Workaround for those who have problems finding the shortcut:

  1. Change your systems keyboard language to a U.S Keyboard language

  2. Look at an image of a US keyboard layout and ctrl+] the corresponding keys on your keyboard

0

MacBookPro with Swiss German layout: Ctrl+¨ ("under" the !, to the left of Enter).

-1

On German Mac Keyboard: ctrl+alt+6

3
  • The community wiki post suggests that it is actually ctrl + shift + 5. Have you got any documentation to back this up?
    – Burgi
    Mar 4, 2016 at 15:06
  • there is a difference between German PC keyboard layout and German Mac keyboard layout. The suggested one is for PC, not Mac. I back this up through daily practice.
    – Fadi Asbih
    Mar 4, 2016 at 22:11
  • @Burgi community wiki answer just summed up other answers here, but IMVHO Fadi Asbih should just extend community wiki answer...
    – g2mk
    Feb 9, 2018 at 8:36
-2

On a French keyboard, CTRL+Shift+5 works great.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .