Skip to content

Latest commit

 

History

History
6 lines (5 loc) · 202 Bytes

sed command.md

File metadata and controls

6 lines (5 loc) · 202 Bytes

SED Commands

To delete a text from a file

sed '/\<word\>/d' filename.txt

To delete word and save changes into another file

sed '/\<word\>/d' initial_file.txt > dest_file.txt