Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Use the getty command of linux to set the terminal mode

2025-01-15 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly introduces the use of linux getty command to set the terminal mode, the article is very detailed, has a certain reference value, interested friends must read it!

The getty command sets the terminal mode, connection rate, and control lines.

Getty command is one of the three necessary steps when an operating system such as UNIX starts, which is used to open the terminal, initialize the terminal, and set up the terminal. The getty command sets and manages terminal lines and ports. The getty command is run by the init command. The getty command is linked to the terminal status administrator program. The terminal status administrator program provides the compound function of terminal control and login. When called as a getty command, the terminal state administrator program provides the usual port management functions.

Syntax format: getty [parameters]

Common parameters:

-c specifies the definition profile, default is / etc/gettydefs-d to specify the configuration profile, default is / etc/conf.getty-h to force disconnect when the transfer rate is 0-r to set delay time-t to set the time to wait for login-w sets the string waiting for response

Reference example

Open the terminal:

[root@linuxcool ~] # getty tty7 above is all the contents that use the getty command of linux to set the terminal mode. Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report