In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
Today, the editor to share with you is the linux to save vi edited files, many people do not understand, today, in order to let you know more about linux saved vi edited files, so give you a summary of the following content, let's look down. I'm sure you'll get something.
After editing in vi, first press ESC to return to command mode, and then type: W to save, or you can enter: wq! Save the file and exit.
The following is the save command:
W Save the file without exiting vi
W file saves the changes to file and does not exit vi
: w! Force save without exiting vi
Wq saves the file and exits vi
: wq! Force to save the file and exit vi
: Q quit vi without saving the file
: q! Do not save the file, force to exit vi
: e! Discard all changes
The above is a brief introduction to the method of saving vi edited files by linux. Of course, the differences in the detailed use of the above have to be understood by everyone. If you want to know more, 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.