Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

Linux getty Command

Linux getty Command

Linux Command Reference Linux Command Reference

The Linux getty command is used to set terminal mode, connection speed, and line discipline.

The getty command is one of the three essential steps when a UNIX-like operating system starts up.

Syntax



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

Parameters:

Example

Open a terminal:



# getty tty7

Linux Command Reference Linux Command Reference