Vi editor - Line numbers

August 27, 2012
vim-editor

To display line numbers, enter the following in Vi/Vim:

:set number

or

:set nu

To remove the line numbers, do;

:set nu!

How to save read-only files in the Vi editor?

July 25, 2012
command-line vim-editor