LPIC-1 Exam 101 (Linux Administrator) — Question 39
In the vi editor, which of the following commands will copy the current line into the vi buffer?
Answer options
- A. c
- B. cc
- C. 1c
- D. yy
- E. 1y
Correct answer: D
Explanation
The command 'yy' is used in the vi editor to copy the current line into the buffer. The other options either do not perform a copying function (like 'c' and 'cc') or are incorrectly formatted commands ('1c' and '1y').