cat file | sed s/stringadasostituire/stringasostitutiva/ > filemodificato