Latest web development tutorials

Linux getty command

Linux command Daquan Linux command Daquan

Linux getty command sets terminal mode, the connection speed and control lines.

getty command is one of the three steps UNIX-like operating system boot necessary.

grammar

getty [-h][-d<组态配置文件>][-r<延迟秒数>][-t<超时秒数>][-w<等待字符串>][终端机编号][连线速率<终端机类型><管制线路>] 或 getty [-c<定义配置文件>]

Parameters:

  • -c <custom configuration file> Specifies the custom configuration file, by default / etc / gettydefs.
  • -d <configuration profile> Specifies the configuration profile, by default /etc/conf.getty.
  • -h When the transmission rate of the compulsory disconnection 0.
  • -r <delay in seconds> to set the delay time.
  • -t <timeout in seconds> Set the time to wait to sign.
  • -w <wait string> wait for a response string.

Examples

Open the terminal:

# getty tty7

Linux command Daquan Linux command Daquan