I'm trying to run a command from a script I wrote that basically replaces a string in filevzctl exec VZID sed -i 's/\/>/address=$IP\/255.255.255.0\/\>/' file.xmlThe problem is the command losses the ' and is there a a way to Escaping command so that it preservers the ' and ? or somehow capsulating it?
Escaping a linux command
bash;shell;shell script;quoting