27

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

fixer1234
  • 27,064
  • 61
  • 75
  • 116
user2066671
  • 505
  • 2
  • 5
  • 13

9 Answers9

51

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+å

Itai Dagan
  • 103
  • 4
Claes Lindvall
  • 526
  • 5
  • 3
  • 1
    Something has definitely been lost in the translation of the second part of your answer. – Tog Oct 25 '13 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)

g2mk
  • 1,428
  • 12
  • 15
  • 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. – Miha Jamsek Apr 24 '20 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 02 '21 at 14:13
2

Norwegian keyboard; CTRL + "^¨~" button

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

elhombre
  • 333
  • 2
  • 4
  • 15
0

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

Bohne
  • 129
  • 1
  • 4
0

CTRL + +

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

Brettetete
  • 2,127
  • 3
  • 15
  • 26
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

hedi
  • 111
  • 1
-1

On German Mac Keyboard: ctrl+alt+6

Fadi Asbih
  • 101
  • 1
  • The [community wiki](http://superuser.com/a/1030068/393570) post suggests that it is actually `ctrl` + `shift` + `5`. Have you got any documentation to back this up? – Burgi Mar 04 '16 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 04 '16 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 09 '18 at 08:36
-2

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

nc4pk
  • 9,037
  • 14
  • 59
  • 71
Jeff
  • 1