VI Editor Commands

Visual Display Editor (vi editor).

Creating a file

From console

Open System Tools -> Terminal

vi <filename>

Entering text

i      :   insert text mode

esc  :   exit text mode and enter command mode

Saving File

wq   :   save content and exit

q!    :    Force exit without saving


  • vi Manual -  by Tony Chen,  Department of Computer Science at Florida State University
  • Mastering the VI Editor - a tutorial by University of Hawaii at Manoa
    College of Engineering
Last modified: Wednesday, 10 July 2013, 3:09 PM