Explore topic-wise MCQs in Unix.

This section includes 5 Mcqs, each offering curated multiple-choice questions to sharpen your Unix knowledge and support exam preparation. Choose a topic below to get started.

1.

Which one of the following is the best way of saving and quitting the editor?

A. ZZ
B. :wq
C. :w
D. :x
Answer» B. :wq
2.

Which of the following command is a substitute for :x command?

A. :x
B. :wq
C. :q
D. :w
Answer» C. :q
3.

We can specify the filename with :w command.

A. True
B. False
Answer» B. False
4.

After pressing :w , we can normally resume our editing work.

A. True
B. False
Answer» B. False
5.

Pressing : in command mode invokes which mode of vi editor?

A. ex-mode
B. insert mode
C. command mode
D. input mode
Answer» B. insert mode