I keep hearing about these things known as tty's.
what are they
how can I access them
what do they do?
|
I keep hearing about these things known as
|
|||||
|
|
A tty, short for teletype and perhaps more commonly called a terminal, is a device which lets you interact with the system by sending and receiving data, such as commands and the output they produce. There are many kind of ttys, but nowadays most ttys are implemented in software, such as the graphical consoles you can access with Ctrl+Alt+Fn, or terminal emulators such as Gnome terminal that run inside an X session. There is also a
When I am logged in and running a shell on the machine, the shell is normally running inside a terminal, namely here it is |
|||
|
|
|
It changes your workspace: for example, you could have a text file open and change to tty2 then you might have a /ls command for reference. This is very helpful for an environment like Ubuntu Server. In Ubuntu Server (16.04.3 LTS - for me) I can use ALT+F1-F6 or use ALT+LeftArrow to go back a number or ALT+RightArrow to go forwards a number. You can see your tty by logging out from Ubuntu Server (run If your tty isn't shown on your login screen then you can run Example: /etc/issue
would show
Notes:
|
||||
|
|
|
tty is one of those funky Unix commands that prints (or, displays) to standard output the name of the terminal connected to standard input. These are 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.
To access them, use this keyboard shortcut: Ctrl + Alt + F1 (changing To get back to your X session (the normal desktop), Ctrl + Alt + F7 |
|||||||||
|
|
You can change the displayed TTY by commmand line with
|
|||||
|