CentOS Linux Server Guide

Vi Editor - Display file with line numbering

To ease you work on text processing, you can append numbers on each line on screen. These number do not write into the file.

 
Keyboard  Operation
:set nu  enable the line numbering on screen
:set nonu  disable the line numbering on screen

 

Read more on Visual Editor (VI)



Copyright 2011 http://www.1a-centosserver.com All Rights Reserved

All trademarks are the property of their respective owners.

Contact Us | Terms of Use | Privacy Policy