initial commit of bin scripts into git

This commit is contained in:
2023-11-08 13:38:19 +11:00
commit 3735eea3c6
113 changed files with 11631 additions and 0 deletions

13
kill_ora.sh Executable file
View File

@@ -0,0 +1,13 @@
#!/bin/bash -x
export ORACLE_HOME=/u01/app/oracle/product/11.2.0/xe
export ORACLE_SID=XE
export NLS_LANG=`$ORACLE_HOME/bin/nls_lang.sh`
export ORACLE_BASE=/u01/app/oracle
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH
export PATH=$ORACLE_HOME/bin:$PATH
/bin/su -s /bin/bash oracle -c 'ORACLE_HOME=/u01/app/oracle/product/11.2.0/xe/ /u01/app/oracle/product/11.2.0/xe/bin/sqlplus -s /nolog @/u01/app/oracle/product/11.2.0/xe/config/scripts/stopdb.sql'
sudo pkill tnslsnr
sudo pkill -9 tnslsnr