Thiên Nhạc Tâm
New member
How do I remove a specific line from a file in Unix?
Answer
Unix Sed Command to Delete Lines in File – 15 Examples
Answer
Unix Sed Command to Delete Lines in File – 15 Examples
- Sed Command to Delete Lines: Sed command can be used to delete or remove specific lines which matches a given pattern or in a particular position in a file. …
- Delete first line or header line. …
- Delete last line or footer line or trailer line. …
- Delete particular line. …
- Delete range of lines.