I want to change the command \pause into %\pause in all my tex files. So I used the following Linux command:
for f in *.tex; do sed -i 's/\pause/%\pause/g' $f; done
but the problem is that the machine don't take into account the character \, so it only changes pause into %pause.