Remove line containing string

By.

min read

My profile

Share this:

Remove line with # in the string:

sed -i '/#/d' thefile.txt
Share this:

Leave a Reply

Your email address will not be published. Required fields are marked *