In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
How does linux save the exit? This problem may be often seen in our daily study or work. I hope you can gain a lot from this question. The following is the reference content that the editor brings to you, let's take a look at it!
Vi is the standard editor for Unix and Linux systems, founded by 喜悦, Bill of the University of California, Berkeley. After learning it, you will walk freely in the world of Linux. Basically, vi can be divided into three states, namely, command mode, insert mode, and bottom line mode.
In Linux command line mode, press the colon key to enter the bottom line mode, so the command to save exit is: wq
The following is the expansion of knowledge:
Edit mode
After entering the text using vi, press I to start editing the text
Exit vi and save files
In command line mode, press the colon key to enter the bottom line mode, for example:
W (save current file)
W filename (saves the file with the specified file name "filename")
: wq (save and exit vi)
: wq filename (save the file you are editing as "filename" file to exit vi)
: Q (quit vi)
: Q! (do not save and force to exit vi)
: X (equivalent to the function of wq)
Thank you for reading! After reading the above, do you have a general understanding of how linux saves the exit? I hope the content of the article will be helpful to all of you. If you want to know more about the relevant articles, you are 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.