Nguyễn Đức Thành
New member
How do you copy the number of lines in Linux?
Answer
The original lines will remain in the file.
Answer
The original lines will remain in the file.
- Open a terminal window to access a command prompt.
- Type the command “vim filename” to open the file that you want to edit. …
- Press the “Esc” key to enter command mode.
- Navigate to the first line in the series that you want to copy.
- Type “5yy” or “5Y” to copy five lines.