

MCQOPTIONS
Saved Bookmarks
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. |
_____KEY_IS_USED_FOR_SWITCHING_TO_COMMAND_MODE_FROM_INPUT_MODE.?$ |
A. | i |
B. | A |
C. | : |
D. | esc |
Answer» D. esc | |
2. |
WHICH_ONE_OF_THE_FOLLOWING_KEY_IS_USED_TO_SWITCH_FROM_COMMAND_MODE_TO_INPUT_MODE??$ |
A. | i |
B. | : |
C. | esc |
D. | ; |
Answer» E. | |
3. |
ex mode is used for what purpose? |
A. | file handling |
B. | substitution |
C. | file handling and substitution |
D. | Inputting text in files |
Answer» B. substitution | |
4. |
To insert text into a file, _____ mode is used. |
A. | Command mode |
B. | Input mode |
C. | Ex mode |
D. | def mode |
Answer» D. def mode | |
5. |
What is the default mode of vi editor? |
A. | Command mode |
B. | Input mode |
C. | Ex mode |
D. | Insert mode |
Answer» C. Ex mode | |
6. |
How many types of modes are used by vi editor? |
A. | 2 |
B. | 4 |
C. | 3 |
D. | 1 |
Answer» B. 4 | |
7. |
Which option is used by vi editor to open a file in read mode only? |
A. | -r |
B. | -R |
C. | -d |
D. | -f |
Answer» D. -f | |
8. |
open file named file001 |
A. | edit file named file001 |
B. | delete a file named file001 |
C. | open file if it exists else creates a new file |
Answer» C. open file if it exists else creates a new file | |
9. |
Which editor is used by the UNIX system to edit files? |
A. | vi |
B. | notepad |
C. | word |
D. | notepad++ |
Answer» B. notepad | |