解决xshell@换行问题

命令:
stty kill '^X'






racdb2:/home/oracle #more .profile
stty kill '^X'
ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE 
PATH=$PATH:$ORACLE_HOME/bin:$ORACLE_HOME/bin:$ORA_CRS_HOME/bin; export PATH
NLS_LANG=american_america.ZHS16GBK; export NLS_LANG

umask 022




登录

Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options

SQL> @


SQL> exit;

设置后登录

racdb1#[/home/oracle]stty kill '^X'
racdb1#[/home/oracle]spsql
sh: spsql:  not found.
racdb1#[/home/oracle]sqlplus unissss/xxx

SQL*Plus: Release 11.2.0.3.0 Production on Wed May 2 14:06:56 2018

Copyright (c) 1982, 2011, Oracle.  All rights reserved.


Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options

SQL> @?/rdbms/admin/awrrptl
SP2-0310: unable to open file "/u01/app/oracle/product/11.2.0/dbhome_1/rdbms/admin/awrrptl.sql"
SQL> @?/rdbms/admin/awrrpt.sql

Current Instance
~~~~~~~~~~~~~~~~

你可能感兴趣的:(oracle_trouble,shooting,oracle_sql,tuning)