I Oracle white, help!

I use DBCA to delete the database orcl, and a new test database, database name and SID is test, the new database after the revision of the.Bash_profile file
# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi

# User specific environment and startup programs

PATH=$PATH:$HOME/bin

export PATH
alias sqlplus='rlwrap sqlplus'
alias rman='rlwrap rman'
export ORACLE_BASE=/database/oracle
export ORACLE_HOME=$ORACLE_BASE/product/11.2.0.1/test
export ORACLE_SID=test
export EDITOR=/usr/bin/vim
export PATH=$ORACLE_HOME/bin:$PATH
export NLS_LANG=AMERICAN_AMERICA.AL32UTF8
~
~
~
Modify the orcl to the test
The modified log out again sqlplus / as SYSDBA; bash: sqlplus: command not logon prompt found
And I found that the directory of product/11.2.0.1 and no test directory

Started by Samantha at November 17, 2016 - 8:45 PM

Which Angel brother mercy, teach younger brother

Posted by Samantha at November 20, 2016 - 8:51 PM

You do not set the path path.

Posted by Wendell at December 04, 2016 - 9:41 PM

ORACLE_HOME,Feel shy, wrong, this is a problem

Posted by Wendell at December 10, 2016 - 9:57 PM

find / -name sqlplus ,You can have a look at the implementation of the path in the root

Posted by Wendell at December 24, 2016 - 10:29 PM