1. To return back to the editor from shell prompt we use _____ command.
Correct Answer is : fg and exit
2. vi editor stores most of its information in a hidden swap file.
3. To recover from a crash, we can use ____ command.
Correct Answer is : :recover and -r
4. The following command will save the contents of the buffer and overwrites the contents of existing file.
:w! file003
5. Input mode is used for ____________
Correct Answer is : editing text in files
6. Which command is used to insert text before the current cursor location?
7. Which command will be used to insert text at the beginning of the line?
8. To append text after the current cursor location, we can use ____ command
9. Which command appends text at the end of the current line?
10. To replace a single character, we use ____ command
11. vi automatically switches from command mode to input mode when we press ‘r’.
12. To replace all text on the right of the cursor position, we use ____ command.
13. Which one of the following command is used to replace a single character with many?
14. To replace 5 characters with new characters, which one of the following will be used?
15. To replace the entire line irrespective of cursor position, we can use ____ command
16. After using ‘s’ or ‘S’, we are automatically left in insert mode.
17. Which command creates a space for entering a new line of text below the current cursor location?
18. To create a space for entering a new line of text above the current cursor location, ‘O’ command is used.
19. Which of the following command is not used for entering or replacing text?