What is TTY and its Applications
In the old times of Unix and BSD where Windows was not born the systems where very different. Computers where big and heavy but very weak according to these days. The use cases and system architectures was very different too.
If we need to connect a system we generally need TeleTYpewriter
TTY . TTY provides text only console to the systems. They we very limited in bandwidths and speed.
TTY usage resumes even today. Most of the Linux distributions provides TTY’s. As stated before TTY’s are text consoles to the systems. When a Linux system like Ubuntu, CentOS is started is spawn TTY’s. We can access these TTY’s by pressing
Ctrl+Alt+F7 . In some distributions this may be less or more.
Graphical Console or TTY
Last console is preserved for graphical usage in Linux distributions. So we can access this TTY with
Ctrl+Alt+F7 . We actually call this as Desktop.
List Running TTY
We can simply list all ready running TTY’s with the
ps command. Issue folowing command which will list allready running TTY’s.
$ ps aux | grep tty