How do I remove a few lines in Unix?

How do I remove a few lines in Unix?
Answer
To Remove the lines from the source file itself, use the -i option with sed command. If you dont wish to delete the lines from the original source file you can redirect the output of the sed command to another file.
 

Tìm kiếm

Back
Top