How do you remove multiple lines in Unix?

Kim Trang

New member
How do you remove multiple lines in Unix?
Answer
Deleting Multiple Lines
For example, to delete five lines you would do the following: Press the Esc key to go to normal mode. Place the cursor on the first line you want to delete. Type 5dd and hit Enter to delete the next five lines.
 

Tìm kiếm

Back
Top