Linux OS Editors Question:

Which command sets the number for all lines?
a) :set li
b) :set ln
c) :set nu
d) :set nl

Linux Editors Interview Question
Linux Editors Interview Question

Answer:

c) :set nu


Previous QuestionNext Question
Which is the correct syntax for sed on command line?
a) sed [options] '[command]' [filename]
b) sed '[command]' [options] [filename]
c) sed [filename] [options] '[command]'
d) sed '[command]' [filename] [options]
Which command shows all the abbreviations in vi editor?
a) ab
b) abb
c) show
d) none of the mentioned