PAGER=more
if [ ! -d "${ORACLE_HOME}" ]; then
print "ERROR: Oracle home not set."
exit -1
fi
print "Oracle Installed Products for ORACLE_HOME ${ORACLE_HOME}:"
if [ -f "${ORACLE_HOME}/orainst/inspdver" ]; then
cd ${ORACLE_HOME}/orainst
./inspdver | ${PAGER}
else
cat ${ORACLE_HOME}/install/unix.rgs | ${PAGER}
fi
↧
Script to list all Installed Oracle Products
↧