adplus-dvertising

Welcome to the Vi Editor MCQs Page

Dive deep into the fascinating world of Vi Editor with our comprehensive set of Multiple-Choice Questions (MCQs). This page is dedicated to exploring the fundamental concepts and intricacies of Vi Editor, a crucial aspect of UNIX. In this section, you will encounter a diverse range of MCQs that cover various aspects of Vi Editor, from the basic principles to advanced topics. Each question is thoughtfully crafted to challenge your knowledge and deepen your understanding of this critical subcategory within UNIX.

frame-decoration

Check out the MCQs below to embark on an enriching journey through Vi Editor. Test your knowledge, expand your horizons, and solidify your grasp on this vital area of UNIX.

Note: Each MCQ comes with multiple answer choices. Select the most appropriate option and test your understanding of Vi Editor. You can click on an option to test your knowledge before viewing the solution for a MCQ. Happy learning!

Vi Editor MCQs | Page 3 of 18

Q21.
For pasting text, ____ is used.
Discuss
Answer: (a).p or P
Q22.
c operator is used for changing the text.
Discuss
Answer: (a).True
Q23.
To change entire lines, ____ is used.
Discuss
Answer: (a).cc
Q24.
Which operator is used in vi to filter text?
Discuss
Answer: (d).!
Q25.
To delete from current cursor upto the first occurrence of }, which of the following will be used?
Discuss
Answer: (c).d / }
Discuss
Answer: (c).deletes from current cursor up to first occurrence of
Q27.
To yank from current cursor up to first occurrence of string str in reverse direction, we can use:
Discuss
Answer: (a).y?str
Discuss
Answer: (c).changes the case of current line from lower to uppercase
Q29.
The command c0 will change the text from current cursor to the end of line.
Discuss
Answer: (b).False
Q30.
For returning back to the original file after switching we can use:
Discuss
Answer: (d).ctrl-^ and :e#
Page 3 of 18

Suggested Topics

Are you eager to expand your knowledge beyond UNIX? We've curated a selection of related categories that you might find intriguing.

Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!