Computer Science - Unix

Exercise :: Unix - Section 2

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

Answer: Option B

Explanation:

No answer description available for this question. Let us discuss.

12. 

Which command is used to print a file?

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

Answer: Option D

Explanation:

No answer description available for this question. Let us discuss.

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

Answer: Option A

Explanation:

No answer description available for this question. Let us discuss.

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

Answer: Option A

Explanation:

No answer description available for this question. Let us discuss.

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

Answer: Option D

Explanation:

No answer description available for this question. Let us discuss.