To delete from current cursor upto the first occurrence of }, which of the following will be used?
A. dd$}
B. d /
C. d / }
D. }
The question was asked during an online interview.
This key question is from Operator-Command Combinations in portion Advanced Vi of Unix
Correct choice is C. d / }
To explain: We can perform many functions using operator-command combinations. For example, d / } will deletes from the current cursor upto first occurrence of } .