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 9 of 18

Q81.
To replace a single character, we use ____ command

a.

r

b.

R

c.

s

d.

i

Discuss
Answer: (a).r
Q82.
vi automatically switches from command mode to input mode when we press ‘r’.
Discuss
Answer: (a).True
Q83.
To replace all text on the right of the cursor position, we use ____ command.

a.

r

b.

R

c.

s

d.

I

Discuss
Answer: (b).R
Q84.
Which one of the following command is used to replace a single character with many?

a.

s

b.

r

c.

R

d.

S

Discuss
Answer: (a).s
Q85.
To replace 5 characters with new characters, which one of the following will be used?
Discuss
Answer: (c).5s
Q86.
To replace the entire line irrespective of cursor position, we can use ____ command
Discuss
Answer: (c).S
Q87.
After using ‘s’ or ‘S’, we are automatically left in insert mode.
Discuss
Answer: (a).True
Q88.
Which command creates a space for entering a new line of text below the current cursor location?

a.

o

b.

O

c.

a

d.

S

Discuss
Answer: (a).o
Q89.
To create a space for entering a new line of text above the current cursor location, ‘O’ command is used.
Discuss
Answer: (a).True
Q90.
Which of the following command is not used for entering or replacing text?
Discuss
Answer: (d).:q

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!