In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly introduces how the Linux machine enters the command interface by default. It is very detailed and has certain reference value. Friends who are interested must finish reading it.
The default way for a root machine to enter the command interface is as follows: first, the root user enters the system and the code [vi / etc/inittab] edits the file; then press I to switch to INSERT mode; then press ESC key to exit INSERT mode; finally, enter wq to save and exit.
By default, the Linux machine enters the command interface:
1. Root users enter the system and use vi to edit inittab files under the command interface.
Vi / etc/inittab-Editing the / etc/inittab file with the vi editor
2. Press I-- to switch to INSERT mode, that is, to modify the mode
3. Find the line init:5:initdefault in the file and change 5 to 3
What do 5 and 3 stand for, respectively?
4. Press the Esc key to exit INSERT mode
5. Press: (colon)-- lock the cursor to the last line
6. Wq (save and exit)
These are all the contents of the article "how to enter the command interface by default on a Linux machine". 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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.