linux root 操作oracle命令
[root@localhostE~]#vi /etc/profile
export ORACLE_BASE=/DBSoftware/app/oracle
export ORACLE_HOME=$ORACLE_BASE/product/11.2.0/db_1
export ORACLE_SID=orcl
export PATH=$PATH:$ORACLE_HOME/bin
保存退出
[root@localhostE~]#source /etc/profile
测试
[root@localhostE~]#sqlplus sys/test1234@orcl as sysdba