Home > Stock Markets > Quizzes > Unix Basics Practice Test: Advanced Vi
Unix Basics Practice Test: Advanced Vi
Fast practice, instant feedback. Timer auto-submits when time’s up.
Avg score: 76% Most missed: “dw will ________”

Quiz  on Vi operator command combinations, customizing vi editor, handling multiple files and buffers.
 

Related Test: Unix Basics Practice Test: Vi Editor

Unix Basics Practice Test: Advanced Vi
Time left 00:00
25 Questions

1. vi used ___ to enter control characters.
2. For pasting text, ____ is used.
3. The command c0 will change the text from current cursor to the end of line.
4. Which of the following statement is not true?
5. To delete from current cursor upto the first occurrence of }, which of the following will be used?
6. :r !date inserts the output of date command in our file.
7. To yank from current cursor up to first occurrence of string str in reverse direction, we can use:
8. To remove all other windows except the current one, which of the following command is used?
9. The command df. will _____
10. c operator is used for changing the text.
11. To sort all lines from current cursor to end of line, ____ can be used.
12. For compiling a C program without leaving the editor, which command will be used?
13. __ and __ commands works in a reverse manner as f and t.
14. For moving the cursor forward to the first occurrence of a character, __ is used.
15. The following command will_________
!! tr ‘[a-z]’ ‘[A-Z]’
16. Which command is used for mapping keys of a keyboard?
17. To split the screen into multiple windows, we can use ____ command.
18. To create a new window, ____ can be used.
19. For returning back to the original file after switching we can use:
20. When multiple filenames are used with vi, we can switch to next file using ___ command.
21. For deleting the line form current cursor to the end of the line, we can use:
22. /* and f* are same.
23. t command positions the cursor a single character before the occurrence.
24. vi environment is determined by variable settings. These variables are controlled by ____ command.
25. For searching a character, ___ and ___ are used.