ITPub博客

首页 > 数据库 > Oracle > sqlplus: command not found解决

sqlplus: command not found解决

原创 Oracle 作者:sky850623 时间:2015-03-15 15:12:03 0 删除 编辑
[oracle@oracle10g bin]$ sqlplus / as sysdba
-bash: sqlplus: command not found

1.使用which查看sqlplus路径

[oracle@oracle10g bin]$ which sqlplus
/usr/bin/which: no sqlplus in (/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/oracle/bin:/home/oracle/bin)

2.在.bash_profile加入path

PATH=$PATH:$HOME/bin:$ORACLE_HOME/bin

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/26937943/viewspace-1460418/ ,如需转载,请注明出处,否则将追究法律责任。

下一篇: oracle bbed使用
请登录后发表评论 登录
全部评论

注册时间:2013-05-30

  • 博文量
    154
  • 访问量
    515350