#Running the script: . ./pstartDB.sh password DB_name #1. Starting the Database echo -------------------- echo Starting $2 Database echo -------------------- . ./10ginfra.env #lsnrctl start echo $1 $2 . ./9idb.env ORACLE_SID=$2 export ORACLE_SID sqlplus -S sys/$1 as sysdba @startsql.sql echo ------------------- echo $2 Database started echo -------------------