3, Ora_Q3_bash:sqlplus:command not found solution

Source: Internet
Author: User
Tags sqlplus

Bash:sqlplus:command not found workaround

Environment variables are well-established, but still error:

# VI. bash_profile

#. Bash_profile

# Get The Aliasesand functions

If [-F ~/.BASHRC];then

. ~/.bashrc


# User Specificenvironment and startup programs

Path= $PATH: $HOME/bin

#AddORACLE_SID, Oracle_base,oracle_home and PATH



Exporteditor = VI

Exportoracle_sid = ORCL

Export Oracle_base =/u01/app/oracle

Exportoracle_home = $ORACLE _base/product/11.2.0/dbhome_1/

Export PATH = $PATH:/u01/app/oracle/product/11.2.0/dbhome_1/bin

Umask 022


# Su-root

# ln-s / u01 /app/oracle/product/11.2.0/dbhome_1/bin /sqlplus/usr/bin

# su-oracle


Sql>conn/as SYSDBA

Connected to an idleinstance.


Oracleinstance started.


Database mounted.


This article is from the "struggle more than" blog, please be sure to keep this source http://peenboo.blog.51cto.com/2865551/1790114

3, Ora_Q3_bash:sqlplus:command not found solution

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.