Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

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 chat.stackexchange.com/transcript/message/1316873#1316873 –  Amith KK Jul 10 '11 at 9:36
1  
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

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.