Provided by Charles Kim, Oracle ACE Director
Provided by Charles Kim, Oracle ACE Director
Provided by Charles Kim, Oracle ACE Director
By Charles Kim, Oracle ACE
Presentation Date – March 2008 by Charles Kim
Solaris:
cat /var/opt/oracle/oraInst.loc |grep inventory_loc |cut -d= -f2 |xargs -I {} -t cat {}/ContentsXML/inventory.xml
Linux and other Unix OS:
cat /etc/oraInst.loc |grep inventory_loc |cut -d= -f2 |xargs -I {} -t cat {}/ContentsXML/inventory.xml
Notes:
1. The -t option tells it to display out the syntax before execution
2. The -I is for Insert mode. utility is executed for each
line from standard input, taking the entire
line as a single argument, inserting it in
argument s for each occurrence of replstr.
Posted by Charles Kim, Oracle ACE Director