Hello,
Following my learning of shell scripting.. I got stuck yet again.
If I execute this command on terminal:
$ sed "s/off/on/g" file > fileAUX
I successfully change the text off to on from file to fileAUX.
But the same command is not working inside a shell script. I tested and sed does find the file and it DOES make the changes if I direct it to stdoutput (screen)
I tried running with sudo (I am using Ubuntu) with no success..
Any idea?