Wednesday 5 February 2020

Introduction to VI editor and how to create, insert and save file using it?

Hi All,

Hope you all are doing good.

In this article, we will know about VI editor and VIM editor in Linux.

  • VI stands for Visual Instrument, it is a screen editor.
  • VIM is the improved version of VI editor.
  • It is pre-installed with Linux.

Steps to create, edit and save file using VI editor.
  1. vi <file-name> opens existing file or creates new file if it's not present.
  2. Press key  i  in keyboard to go into the insert mode. It helps to insert or modify the text in the file.
  3. Press Escape key in keyboard to exit the insert mode.
  4. Enter :q to quit without saving.
  5. Enter :wq to save and quit

Thanks for reading this article!!

No comments:

Post a Comment

Intoduction to Flutter

Hi All, I hope every one is doing good In this article, we will know about the introduction of Flutter.