How to save the unnamed Vim in Linux

Source: Internet
Author: User

How to save the unnamed Vim in Linux

On the command terminal, enter the vim command to open the vim file. After editing the file, the system will remind E32: No file name to save the file. How to save the unnamed Vim? The following describes how:

In command mode, enter the file, followed by the path and file name to save the file. If this file is named welcome.txt, it is saved in the current directory.

Command: file welcome.txt

View the current directory to view the file.

You can use the cat command to browse the file content.

Note: My Linux version is federa15

Document Information
    • Copyright statement: Reprinted freely-non-commercial-non-derivative-keep the signature | creative
      Commons BY-NC-ND 3.0
    • Blog: http://blog.csdn.net/lyc_daniel/article/details/10134573
    • Blogger: lyc_daniel

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.