Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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. So what are /dev/ttyN for 12<N<64 used for?

share|improve this question

1 Answer 1

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...).

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.