In ubuntu 10.04, if I check under /dev,
there are more than 50 ttys.
tty0, tty1, tty2….
I understand tty is a character device for console input/output.
but why is there so many of them? is it something like pool?
and what is the difference between /dev/pts/0, 1, 2… , /dev/tty?
If I open up a terminal, new number is created under /dev/pts.
but I don't know when /dev/tty? is used.
even if I create a SSH connection, number of /dev/tty s are same.
and if I do
and type something in keyboard, I get corresponding outputs. why is this happening?