Linux – What are TTYs >12 used for

linuxtty

Related to TTY numbers, it looks like there are 64 TTYs (find /dev -name 'tty[0-9]*' | cut -c 9- | sort -n | tail -n 1 and documentation). tty0 is the current virtual console, Ctrl+Meta+F1 reports that it's connected to tty1, and tty in a GNOME terminal reports that it's connected to /dev/pts/N. Only TTYs 1 through 12 can be accessed using the well-known Ctrl+Meta+F* keyboard shortcuts, so what are /dev/ttyN 13 through 64 used for?

Best Answer

Again, as I answered to this question, it is entirely up to whoever sets the system up. Normally only a limited number of gettys are started, as people nowadays use X instead of a tty (or use screen(1)...), starting more than a handful is waste. If you want to start gettys on all 64, feel free.

The pty (and some other exotic starting letters) are pseudo ttys, faked by software to run e.g. xterms and other tty users, in contrast to the "real" ttys (which aren't so real anymore...).

Related Question