How to delete from a text file, all lines that contain a specific string?

Subscribers:
4,110
Published on ● Video Link: https://www.youtube.com/watch?v=qRhXcVwx_00



Category:
Guide
Duration: 5:10
3 views
0


How to delete from a text file, all lines that contain a specific string?
I hope you found a solution that worked for you :)
The Content (except music & images) is licensed under (https://meta.stackexchange.com/help/licensing)CC BY-SA |
Thanks to all those great people for their contributions!

(stackoverflow.com/users/667236/a-clockwork-orange)A Clockwork Orange |
(stackoverflow.com/users/207248/siegex)SiegeX |
(stackoverflow.com/users/586352/kurumi)kurumi |
(stackoverflow.com/users/901444/slashdottir)slashdottir |
(stackoverflow.com/users/1636759/kevin-nguyen)Kevin Nguyen |
(stackoverflow.com/users/55075/kenorb)kenorb |
A special thanks goes out to the (https://stackoverflow.com/questions/5410757/how-to-delete-from-a-text-file-all-lines-that-contain-a-specific-string)Stackexchange community |

I wish you all a wonderful day! Stay safe :)

sed shell text-parsing in-place







Tags:
sed
shell
text-parsing
in-place