In the vi editor, how can commands such as moving the cursor or copying lines into the buffer be issued multiple times or applied to multiple rows?

In the vi editor, how can commands such as moving the cursor or copying lines into the buffer be issued multiple times or applied to multiple rows?
A . By using the command: repeat followed by the number and the command.
B . By specifying the number right in front of a command such as 4l or 2yj.
C . By selecting all affected lines using the shift and cursor keys before applying the command.
D . By issuing a command such as: set repetition=4 which repeats every subsequent command 4 times.

Answer: B

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>