cp /root/.bash_profile /root/.bash_profile.bak
vi /root/.bash_profile
将
PATH=$PATH:$HOME/bin:/opt/grid/products/11.2.0/bin
改为
PATH=$PATH:$HOME/bin:/u01/app/11.2.0/grid/bin
保存退出
source /root/.bash_profile
vi /root/.bash_profile
将
PATH=$PATH:$HOME/bin:/opt/grid/products/11.2.0/bin
改为
PATH=$PATH:$HOME/bin:/u01/app/11.2.0/grid/bin
保存退出
source /root/.bash_profile