linux下oralcle11g使用edit命令默認調用vi編輯器:
在 $ORACLE_HOME/sqlplus/admin/glogin.sql 最後一行添加 define_editor=vi 即可。