I am at the gnome 2 login screen but I want to exit and re-enter command-line environment. I remember there was a combination hot key one has to invoke.

  • On which operative system are you?
    – andcoz
    Oct 1, 2011 at 22:05

2 Answers 2


Are you looking for Ctrl-Alt-F1 ?

This will switch to the first virtual console. Usually several virtual consoles are available from F1 up to F6. The 7th is usually the one used by the login screen, so you can switch back using Ctrl-Alt-F7 (or whatever is the relevant one).

  • on my ubuntu 20, f1 seems to belong to the login screen, so nothing happened when i pressed ctrl+alt+f1, ctrl+alt+f2 worked in my case
    – Klesun
    Oct 25, 2020 at 15:27

Ctrl + Alt + F1 (there are also terminals on the following F-keys, for me up to F6).

To get back to the GUI, use F7 instead.

  • I actually tried that - I know what the problem is now. For some reason my keyboard is not active at the login screen...
    – ptrcao
    Oct 1, 2011 at 21:53
  • "there are also terminals on the following F-keys" thank you, my fedora 28 is F3 Jul 5, 2018 at 20:38

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.