adplus-dvertising
frame-decoration

Question

To delete from current cursor upto the first occurrence of }, which of the following will be used?

a.

dd$}

b.

d /

c.

d / }

d.

}

Posted under Vi Editor UNIX

Answer: (c).d / }

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. To delete from current cursor upto the first occurrence of }, which of the following will be used?

Similar Questions

Discover Related MCQs

Q. The command df. will _____

Q. To yank from current cursor up to first occurrence of string str in reverse direction, we can use:

Q. The following command will_________

!! tr ‘[a-z]’ ‘[A-Z]’

Q. The command c0 will change the text from current cursor to the end of line.

Q. For returning back to the original file after switching we can use:

Q. When multiple filenames are used with vi, we can switch to next file using ___ command.

Q. We can move back to the previous file using ____ command.

Q. :r !date inserts the output of date command in our file.

Q. To split the screen into multiple windows, we can use ____ command.

Q. To create a new window, ____ can be used.

Q. To remove all other windows except the current one, which of the following command is used?

Q. vi editor has ____ named buffers.

Q. To restore a number of recent deletions, numbered buffers are used.

Q. For restoring the contents of numbered buffers efficiently, ___ command is used.

Q. To change the default tab stop spaces in vi, ___ can be used with :set.

Q. Which command is used for mapping keys of keyboard?

Q. /* and f* are same.

Q. For compiling a C program without leaving the editor, which command will be used?

Q. Which of the following statement is not true?

Q. The letter "A" (upper case) in ASCII code is