One of things that is convenient is to setup aliases for commands and navigation for your Oracle systems

when the .profile executes it executes two additional files

.profile_env

.std_profile

here are some of the components in the .std_profile

Keep in mind the ORACLE_HOME needs to be set in the /etc/oratab prior to executing the profiles

Setting up Aliases

ob= Oracle base
oh= Oracle home
dba= Oracle base dba scripts
loc='cd $ORACLE_BASE/dba/local'
std='cd $ORACLE_BASE/dba/standard'
stage='cd $ORACLE_BASE/dba/stage'
gen='cd $DBA_OUTPUT/generic'
adm='cd $ADMIN'
admscr='cd /opt/oracle/admin/scripts'
tmplt='cd /u01/app/oracle/product/12.2.0/db_1/assistants/dbca/templates'
rspdir='cd /opt/oracle/scripts/rspfiles'

net='cd $ORACLE_HOME/network/admin'
onet='cd $ORACLE_HOME/network/admin'
dfiles='cd /u01/app/oracle/oradata/TEST'

# alias fog='cd $FOG'
# alias foglight='cd $FOG'

 

Ready for Action?

LET'S GO!
Copyright 2024 IT Remote dot com
linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram