|
刚安装好oracle,运行sqlplus就出现command not found
我按照网上的方法试了,都不行,请大家帮帮,先谢谢!
linux as 3+oracle10
[oracle@oracleserver bin]$ pwd
/u01/app/oracle/product/10.1.0/Db_1/bin
在bin目录下存在sqlplus可执行文件
[oracle@oracleserver oracle]$ ls -a
. 10g_db .bash_logout .bashrc .emacs .kde .xemacs
.. .bash_history .bash_profile .canna .gtkrc .viminfo .zshrc
[oracle@oracleserver oracle]$ more .bash_profile
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/bin:$ORACLE_HOME/bin
export PATH
unset USERNAME
ORACLE_HOME=/u01/app/oracle/product/10.1.0/Db_1/bin; export ORACLE_HOME
ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE
ORACLE_SID=demo1; export ORACLE_SID |
|