How do I remove the last 10 lines in Linux?

Minh Tung

New member
How do I remove the last 10 lines in Linux?
Answer
Remove the Last N Lines of a File in Linux
  1. awk.
  2. head.
  3. sed.
  4. tac.
  5. wc.
 

Tìm kiếm

Back
Top