Editors Question:
Download Questions PDF

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

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

Download Editors Interview Questions And Answers PDF

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