11. Which set option is used with vi editor to display line numbers on screen?

A. nm
B. nu
C. ic
D. li
E. None of the above


Correct Answer: B. nu

12. Which command is used to print a file?

A. print
B. prn
C. pg
D. lp
E. None of the above


Correct Answer: D. lp

13. Which command will be used with vi editor to replace single character under cursor with any number of characters?

A. s
B. S
C. a
D. i
E. None of the above


Correct Answer: A. s

14. Which of the following set options is used with vi editor to ignore case while searching for patterns?

A. ic
B. ai
C. sm
D. ts
E. None of the above


Correct Answer: A. ic

15. Which command is used to list out all the hidden files along with the other files?

A. ls -l
B. ls -x
C. ls -F
D. ls -a
E. None of the above


Correct Answer: D. ls -a

Comments

No comments yet. Why don’t you start the discussion?

    Leave a Reply

    Your email address will not be published. Required fields are marked *

    3 × five =