using sed to send a variable and replace
Hi! I can't figure out the exact sed to make this work. I've installed CentOS and am trying to pass variables to a network-config file.
I'm looking to replace the eth0.IP=*.*.*.* with eth0.IP=$ipAddress, and so on for netmask and gateway. How could I get this to work?