Explore topic-wise MCQs in Unix.

This section includes 9 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 of the following key is used to enter in ex-mode?

A. ESC
B. i
C. :
D. ;
Answer» D. ;
2.

____ key is used for switching to command mode from input mode.

A. i
B. A
C. :
D. esc
Answer» E.
3.

Which one of the following key is used to switch from command mode to input mode?

A. i
B. :
C. esc
D. ;
Answer» B. :
4.

ex mode is used for what purpose?

A. file handling
B. substitution
C. file handling and substitution
D. Inputting text in files
Answer» D. Inputting text in files
5.

To insert text into a file, _____ mode is used.

A. Command mode
B. Input mode
C. Ex mode
D. def mode
Answer» C. Ex mode
6.

What is the default mode of vi editor?

A. Command mode
B. Input mode
C. Ex mode
D. Insert mode
Answer» B. Input mode
7.

How many types of modes are used by vi editor?

A. 2
B. 4
C. 3
D. 1
Answer» D. 1
8.

Which option is used by vi editor to open a file in read mode only?

A. -r
B. -R
C. -d
D. -f
Answer» C. -d
9.

Which editor is used by the UNIX system to edit files?

A. vi
B. notepad
C. word
D. notepad++
Answer» B. notepad