tty1, tty2, etc. are “virtual terminals” (sometimes called “virtual consoles”). You may log in to different virtual terminals and thus have a few different sessions with the computer going on at the same time.
How do I get out of tty1?
To log out in a terminal or virtual console press ctrl-d. To return to the graphical environment from a virtual console press either ctrl-alt-F7 or ctrl-alt-F8 (which one works is not foreseeable). If you are in tty1 you can also use alt-left, from tty6 you can use alt-right.
What is tty1 tty2 in Linux?
88. tty is one of those funky Unix commands that prints the name of the terminal connected to standard input. TTY’s are text-only terminals commonly used as a way to get access to the computer to fix things, without actually logging into a possibly b0rked desktop.