Linux getty命令
Linux 教程
· 2019-02-15 19:58:32
Linux getty命令用于设置终端机模式,连线速率和管制线路。
getty指令是UNIX之类操作系统启动时所必须的3个步骤之一。
语法
getty [-h][-d<组态配置文件>][-r<延迟秒数>][-t<超时秒数>][-w<等待字符串>][终端机编号][连线速率<终端机类型><管制线路>] 或 getty [-c<定义配置文件>]
参数:
- -c<定义配置文件> 指定定义配置文件,预设为/etc/gettydefs。
- -d<组态配置文件> 指定组态配置文件,预设为/etc/conf.getty。
- -h 当传输速率为0时就强制断线。
- -r<延迟秒数> 设置延迟时间。
- -t<超时秒数> 设置等待登入的时间。
- -w<等待字符串> 设置等待回应的字符串。
实例
开启终端:
# getty tty7
点击查看所有 Linux 教程 文章: https://www.codercto.com/courses/l/14.html
The Nature of Code
Daniel Shiffman / The Nature of Code / 2012-12-13 / GBP 19.95
How can we capture the unpredictable evolutionary and emergent properties of nature in software? How can understanding the mathematical principles behind our physical world help us to create digital w......一起来看看 《The Nature of Code》 这本书的介绍吧!