How to Use 'VI'

From ReduxWiki

Jump to: navigation, search

vi is a screen-oriented text editor computer program written by Bill Joy in 1976 for an early BSD release.

Contents

[edit] Create or Open Existing File

vi <filename>

[edit] Edit the File

i

[edit] Stop Editing

Press the 'Esc' Key

[edit] Save

:w

[edit] Quit

:q

[edit] Save & Quit

:wq

[edit] Jump to Text

/text

[edit] Jump to Line

:<line number>



Image:Tip.png Back to How To Documents
Personal tools
Getting Started