#!/bin/bash # script to stop the Oracle database, listener and dbconsole . ~/.bashrc # stop the Enterprise Manager db console # $ORACLE_HOME/bin/emctl stop dbconsole # stop the listener and the database $ORACLE_HOME/bin/dbshut $ORACLE_HOME exit 0