How do you delete multiple lines in Unix?

thanhthao

New member
How do you delete multiple lines in Unix?
Answer
Deleting Multiple Lines
  1. Press the Esc key to go to normal mode.
  2. Place the cursor on the first line you want to delete.
  3. Type 5dd and hit Enter to delete the next five lines.
 

Tìm kiếm

Back
Top