I am trying to use sed to overwrite my index.php file, but I am getting an error:
$ sed -i \'s@@
I think you can you "sudo" in front of your command. Like sudo sed -i 's/geteuid/getppid/g' /usr/bin/vlc It worked for me.