distinguishing console and terminal devices

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I'm a bit confused about terminal devices. console(4) man page says:

"There are 63 consoles /dev/ttyn where 1<= n <= 63". It also says:
"The _current_ console is addressed by /dev/console or /dev/tty0"

On tldp text-terminal how-to it says:

"/dev/tty stands for the _controlling_ terminal"

Now is it true that /dev/console = /dev/tty0 = /dev/tty?

If they're different ( I presume they are, since typing echo foo >
/dev/console doesn't appear on my xterm window whereas echo foo >
/dev/tty does). What is the difference? By naming convention what
would "controlling" and "current" mean here? Also it wouldn't do harm
perhaps if I asked what "console" and "terminal" stand for by
definition?

Many thanks,
Bahadir

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux