Saturday, April 27, 2024
100
rated 0 times [  100] [ 0]  / answers: 1 / hits: 278041  / 2 Years ago, mon, february 7, 2022, 7:49:49

I keep hearing about these things known as tty's.




  • what are they


  • how can I access them


  • what do they do?



More From » command-line

 Answers
6

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.


Related: What is tty7 in the commandline?


By default, Ubuntu has 7 tty's.



  • On Ubuntu 17.10 and newer: It's GUI login screen on 1, GUI desktop on 2 and command lines on 3-7.

  • Up until Ubuntu 17.10: 1-6 are command line only and 7 runs your X session (your normal desktop).


To access them, use this keyboard shortcut:


Ctrl + Alt + F3 (or F1 until 17.10).


Changing F3 to F3-F6 to access the terminal that you want.


To get back to your GUI session (the normal desktop):


Ctrl + Alt + F2 (or F7 until 17.10).


[#43034] Wednesday, February 9, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
diffeah

Total Points: 78
Total Questions: 130
Total Answers: 98

Location: Peru
Member since Fri, Oct 14, 2022
2 Years ago
;