Linux getty命令

更新时间: 2019-10-16 12:40

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
Data Structures and Algorithms in Python

Data Structures and Algorithms in Python

Michael T. Goodrich、Roberto Tamassia、Michael H. Goldwasser / John Wiley & Sons / 2013-7-5 / GBP 121.23

Based on the authors' market leading data structures books in Java and C++, this book offers a comprehensive, definitive introduction to data structures in Python by authoritative authors. Data Struct......一起来看看 《Data Structures and Algorithms in Python》 这本书的介绍吧!

CSS 压缩/解压工具

CSS 压缩/解压工具

在线压缩/解压 CSS 代码

XML、JSON 在线转换

XML、JSON 在线转换

在线XML、JSON转换工具

正则表达式在线测试

正则表达式在线测试

正则表达式在线测试