My workstation is Ubuntu 14.04
. I have Oracle Express 11g
installed. Whenever i run the define command in SQLPlus
, is see the define _editor = "ed". Is there a way to change that permanently to gedit
instead of defining my preferred editor with every new session.
Oracle SQLPlus – Default Define Settings
oracleoracle-10gsqlplus
Related Question
- Sqlplus consuming 99% CPU
- Sqlplus is not starting
- Sqlplus not connecting to Oracle XE 11g
- Oracle on Ubuntu – Why Oracle Database Configuration Fails on Ubuntu
- Oracle 11g – Global Command to Destroy All Disconnected Data Files
- SQLPLUS Column Widths – Default Settings in Oracle 11g R2
- Limiting db user password to 3 days
- Can SQLPlus Fetch More Than One Row at a Time?
Best Answer
There are 2 ways of doing this.
Edit your shell dot file (
.profile
,.bash_profile
etc) to add:Or, you can create the
sqlplus
equivalent of a Unix dot file. Create a file calledglogin.sql
and place it in$ORACLE_HOME/sqlplus/admin
, then add this to it: