adplus-dvertising
frame-decoration

Question

Which of the following symbols are used for searching a pattern in vi?

a.

/

b.

?

c.

%

d.

/ and ?

Posted under Vi Editor UNIX

Answer: (d)./ and ?

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which of the following symbols are used for searching a pattern in vi?

Similar Questions

Discover Related MCQs

Q. ____ searches for a first instance of a pattern in forwarding direction.

Q. ____ searches for a first instance of a pattern in the backward direction.

Q. An operator can’t perform any function without being combined with a command or itself.

Q. For deleting the line form current cursor to the end of the line, we can use:

Q. dw will ________

Q. To sort all lines from current cursor to end of line, ____ can be used.

Q. Which of the following is not a valid operator-command combination?

Q. Which of the following command is used for switching files?

Q. The technique of restoring line deletions from numbered buffers is applicable only to entire lines.

Q. vi used ___ to enter control characters.

Q. To append contents of buffer to file01, we can use __________

Q. Which of the following is an invalid command?

Q. For searching a character, ___ and ___ are used.

Q. For moving the cursor forward to the first occurrence of a character, __ is used.

Q. t command positions the cursor a single character before the occurrence.

Q. __ and __ commands works in a reverse manner as f and t.

Q. For repeating the character search , and ; are used.

Q. For customizing vi, which of the following command is used?

Q. vi environment is determined by variable settings. These variables are controlled by ____ command.

Q. For automatic indentation, ____ is used with : set command.