To display line numbers, enter the following in Vi/Vim:
:set number
or
:set nu
To remove the line numbers, do;
:set nu!
To display line numbers, enter the following in Vi/Vim:
:set number
or
:set nu
To remove the line numbers, do;
:set nu!