I have shell script file. In there is code like:
I want to replace this code line with another code line:
How do I do that?
cat, but it removed all the code lines and only added this code line..can anyone tell me how to replace the text in shell scripting ?
This is how I tryed it:
cat <<EOF > /home/samples/pom.xml <tag>port:3128</tag> EOF