search and delete string in shell script code example Example: linux sed remove string in file sed -e s/deletethis//g -i *