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

Answers were Sorted based on User's Feedback



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

Answer / ganapthy

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

Is This Answer Correct ?    29 Yes 1 No

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

Answer / shyamli

There are two commands

:set number
or
:set nu

Is This Answer Correct ?    21 Yes 0 No

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

Answer / sourisengupta

It should be:-

Esc
:set nu

Is This Answer Correct ?    21 Yes 3 No

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

Answer / maurice

esc
: set number

Is This Answer Correct ?    14 Yes 1 No

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

Answer / vijay

correct number.

Is This Answer Correct ?    7 Yes 5 No

Post New Answer

More Vi Editor Interview Questions

Which command is used to replace many characters?

4 Answers  


what is the command used to append text after current line?

3 Answers  


what is the command used to append to buffer?

0 Answers   IBM,


what are the different commands used to quit from the vi editor?

1 Answers  


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

5 Answers  






How to replace String "a" with String "b" in whole file of the vi editor?

10 Answers   Niksun,


what are the two different modes in vi editor?

7 Answers  


What is the command used to replace many characters?

2 Answers  


How to return to shell without leaving vi editor?

2 Answers  


HOW WE CAN MAKE THE DLIEVERY WHICH IS BLOCKED DUE TO CREDIT LIMIT.

0 Answers   Seamless,


What is the difference between lettered buffer and temporary buffer?

2 Answers  


what does the c$ command do from command mode?

5 Answers  


Categories
  • Vi Editor Interview Questions Vi Editor (21)
  • Visual Studio IDE Interview Questions Visual Studio IDE (207)
  • Editors AllOther Interview Questions Editors AllOther (1)