Explain What is the command used to set margin in vi editor?

Submitted by: Administrator
Press ESC followed by colon setnu

eg => :setnu
Submitted by: Administrator

First switch to Command mode by pressing Esc key and then use
:se nu -> to number
:se nonu -> to unnumber
Submitted by: Jayadev

:set nu
Submitted by: Rohit

Read Online Vi Editor Job Interview Questions And Answers