Linux setconsole command

Linux 命令大全Linux Command Reference

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 host's video card as the terminal.

Examples

Set the terminal

# setconsole ttyS0

Linux 命令大全Linux Command Reference

Other Extensions