3. Set environment variables:
tcsh\csh (put in .cshrc)
setenv ORACLE_HOME
/koko/system/oracle/product/10.1.0
setenv PATH $PATH\:$ORACLE_HOME/bin
bash \ ksh
(put in .bashrc\.profile)
export ORACLE_HOME=/koko/system/oracle/product/10.1.0
export PATH=$PATH:$ORACLE_HOME/bin
4. csh \ tcsh :
prompt> source .cshrc
bash \ ksh : prompt> .
.profile
or logout and login again
5. To access oracle:
> sqlplus /nolog
This starts the program to connect to
the database.
SQL> connect username@student
( use your remus username )
You will be prompted for a password:
<> Enter password:
Connected.
SQL>
6. To test that you are connected, try this at the SQL prompt:
SQL> describe dual;
You should see something like the following:
Name
Null? Type
--------------------------------------------------------------
-------- ---------------------------------------------
DUMMY
VARCHAR2(1)