Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

The TeleType Consoles in linux can be switched by Ctrl + Alt + F(#TTY).

How many such TTY's can linux have at a time? Is there even a limit?

share|improve this question
up vote 6 down vote accepted

You can only run a virtual console (VC) on a tty device that exists. By default, Debian Linux ships with 64 such device files (/dev/tty0 through /dev/tty63). Other reading suggests that the limit in the kernel by default is 256 of these, so it may be possible to create up to /dev/tty255. If you need more than that, you'll probably have to recompile the kernel.

The more practical limitation, however, is how do you actually use that many VCs? LeftAltF1 through LeftAltF12 will only get you up to VC 12 on most keyboards (10 on others). To extend this number, most Linux systems ship with RightAltF1 through RightAltF12 mapped to VCs 13 through 24. Beyond this, you can do your own keyboard mapping, which you can read about here if this is something you're interested in doing.

You can also use Altleft or AltRight to cycle through all VTs. And the chvt command can be used to directly change to any active VT.

share|improve this answer
Thanks alot of curing my curiosity :D – Amith KK Jul 10 '11 at 9:32
@Rinzwind of Askubuntu is saying that your answer is wrong.Please verifiy – Amith KK Jul 10 '11 at 9:36
Wrong in what regard? – Flimzy Jul 10 '11 at 9:41
Alt+Left, Alt+Right, chvt can be used to access all available VCs. – grawity Jul 10 '11 at 9:43
@grawity: good call, I forgot about that. I'll update my answer. – Flimzy Jul 10 '11 at 10:00

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .