cat /etc/*release
uname -r
ps -ef | grep pmon
ps -ef | grep -i smon | grep -v grep
ps -ef --sort=cmd | grep ora_smon
ps -ef | grep ora_smon | grep -v grep | sed 's/.*smon_//' | sort
cat /etc/oratab
find $ORACLE_BASE -type f -name alert_$ORACLE_SID.log
find . -type f -name "*.sh" -not -path "./app/oracle/*"
find . -type f -ls |grep 'Jan 30 08:2'
ps -aux
top
ls -ltr
ls -ltr --full-time *.sh
ECHO $PWD
shutdown
poweroff
systemctl reboot -i
sudo apt-get update && sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo apt autoremove
nano CTRL X to quit or vim
cd ..
chmod -R ugo+rw /DATA/SHARE -R – this modifies the permission of the parent folder and the child objects within
ugo+rw – this gives User, Group, and Other read and write access. chmod -R ugo+rw /u02/app/oracle/diag/rdbms/xxxxx/xxxxx
rpm -qa --last kernel-uek
rpm -qa --last | grep "Wed 22 Aug 2018 09"
rpm -qa --last kernel-uek
rpm -qa --last | grep "Wed 22 Aug 2018 08"
yum update
. oraenv
ALTER SYSTEM REGISTER;
/u01/app/oracle/product/12.1.0.2/db_1/
$ORACLE_HOME/OPatch/opatch lsinventory
11 * * 5 /u01/FridayJob.sh > /u01/logs/FridayJobs.log 2>&1