Linux setconsole command
The Linux setconsole command is used to set the system terminal.
setconsole can be used to specify the system terminal.
Syntax
setconsole [serial][ttya][ttyb]
Parameters:
- serial Use the PROM terminal.
- ttya, cua0 or ttyS0 Use the first serial port device as the terminal.
- ttyb, cua1 or ttyS1 Use the second serial port device as the terminal.
- video Use the graphics card on the host as the terminal.
Example
Set the terminal
# setconsole ttyS0
Linux Command Reference