Linux Terminal Glossary
›
Text Processing
sed '/pattern/d' file.txt
Category:
Text Processing
sed '/pattern/d' file.txt
Copy command
Delete lines matching a pattern
Removes (deletes) any line that matches the pattern from the output.
Looking for more?
Search all 7,657 commands
— works offline, in English or Spanish, and fixes typos.