Editors Question:

What is the command used to display line numbers in vi editor?

Editors Interview Question
Editors Interview Question

Answer:

esc
:
set number
Repeating in Descriptive form

Please come to command mode by pressing escape.
Put :
The typoe set number and enter

You can view line nos


Previous QuestionNext Question
What does the c$ command do from command mode?What is the command used to delete current line in vi editor?