How i can use vi command on linux ?

Open an existing file or create a new file with VI:
There are a variety of text editors in the linux os. Among them, particularly the most commonly used by database administrators is the vi text editor. It designed specifically for linux or unix  systems.

  • Open the terminal

$vi file.text 

Example :

vi erman.text

To get (insert) mode:

Screen Shot 2017-07-11 at 22.51.22

To get command mode <ESC>

Screen Shot 2017-07-11 at 22.52.09

Text deletion operations (In command mode):

Screen Shot 2017-07-11 at 22.52.50

Hits: 5

Leave a Reply

Your email address will not be published. Required fields are marked *