主机猫Hosting · Domains · Site Builders
EN
USD
Compilation of 10 commonly used Linux Vi editor commands | Key operation points

Compilation of 10 commonly used Linux Vi editor commands | Key operation points

Website Builders

This website building note, published on September 7, 2023, is titled "A Compilation of 10 Commonly Used Linux Vi Editor Commands." The actual environment or tools involved include Linux.

This website building note, published on September 7, 2023, is titled "A Compilation of 10 Commonly Used Linux Vi Editor Commands." The actual environment or tools involved include Linux.

Software and deployment conditions

If you have made changes to a file but do not want to save them, you can use this command to force quit the Vi editor.

Matters mentioned in the article

  • 1. Open the file: vi filename
  • 2. Insert text: i
  • 3. Save the file and exit: :wq
  • 4. Exit without saving the file: :q!
  • 6. Delete character: x
  • 8. Copy line: yy

Usage Environment

Linux.

Related content

Request a quote

Tell us what you need and how to reach you.