How do I delete a single line in Linux?

How do I delete a single line in Linux?
Answer
You can use
the “stream editor for filtering and transforming text” sed. Here, -i means edit the file inplace. d is the command to “delete the pattern space; immediately start next cycle”.
 

Tìm kiếm

Back
Top