sed solaris issue?
Posted on 2011-03-08
I have been used the solution given, it works fine with linux, but not on SOLARIS
can you help with this updated:
sed 's/$DB_NAME:\/export\/oracle\/product\/188.8.131.52:N/$DB_NAME:\/export\/oracle\/product\/184.108.40.206:N/g' /etc/oratab
the answer i was given and looks ok for linux is
sed -i 's/DATABASE:\/export\/oracle\/product\/220.127.116.11:N/DATABASE:\/export\/oracle\/product\/18.104.22.168:N/' /export/oracle/oratab