I have a huge SQL file that gets executed on the server. The dump is from my machine and in it there are a few settings relating to my machine. So basically, I want every oc
The sed command can do that. Rather than escaping the slashes, you can choose a different delimiter (_ in this case):
sed
sed -e 's_c://temp/_/home//some//blah/_' file1.txt > file2.txt