hi all
i want to use sed command to replace check_Switch2!192.168.1.1!10.0.0.1 to
check_by_nrpe!10.0.0.1!check_AP!192.168.1.1
thanks in advance
hi all
i want to use sed command to replace check_Switch2!192.168.1.1!10.0.0.1 to
check_by_nrpe!10.0.0.1!check_AP!192.168.1.1
thanks in advance
sed -e 's/check_Switch2!192.168.1.1!10.0.0.1/check_by_nrpe!10.0.0.1!check_AP!192.168.1.1/g' input.txt > out.txt