sed remove characters from file code example Example: linux sed remove string in file sed -e s/deletethis//g -i *