In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
What command is used to save the file in linux? In response to this problem, the editor summed up this article today, hoping to help more friends who want to solve this problem to find a more simple and feasible way.
The linux save file command is w
There are many more commands for saving files in linux, such as:
1. Wq saves the file and exits vi
2. W file saves the changes to file and does not exit vi
3. Q quit vi without saving the file
At last, you can enter.
Extended data
Exit Vi when you are ready to exit Vi and return to shell after editing the file, you can use one of the following methods to press the capital letter Z twice in command mode. If the currently edited file has been modified, Vi saves the file and then exits to return to shell.
If the current edited file has not been modified, Vi directly exits and returns to shell to enter the command in the last line mode: W Vi saves the current editing file but does not quit but continues to wait for the user to enter the command to give the editing file a new file name when using the w command.
Linux is a free-to-use and free-spread Unix-like operating system. It is a multi-user, multi-task, multi-threaded and multi-CPU operating system based on POSIX and UNIX. It runs major UNIX tools, applications, and network protocols. It supports 32 bit and 64 bit hardware. Linux inherits the design idea of Unix with network as the core, and is a multi-user network operating system with stable performance.
Strictly speaking, the word Linux itself only refers to the Linux kernel, but in fact people have become accustomed to using Linux to describe the entire Linux kernel and use GNU to project operating systems with various tools and databases.
This is the end of the command to save files in linux. I hope the above content can be helpful to you and learn more knowledge. If you think the article is good, you can share it for more people to see.
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.