/dev/consoleis a virtual console device which can be set as a parameter at boot time. It might be redirected to a serial device, a virtual console, whatever and by default points to/dev/tty0. Multipleconsole=options can be passed to the kernel in which case the console output will go to more than one device./dev/tty0is the main virtual console/dev/tty[1-x]is one of the other virtual consoles you switch to with control-alt-F1 and so on./dev/ttyis the console (if any) used by the process querying it.
jlliagre
- 62.5k
- 11
- 124
- 162