今天在登陸數(shù)據(jù)庫(kù)的時(shí)候使用!sql登錄
創(chuàng)新互聯(lián)主要從事成都做網(wǎng)站、成都網(wǎng)站設(shè)計(jì)、網(wǎng)頁(yè)設(shè)計(jì)、企業(yè)做網(wǎng)站、公司建網(wǎng)站等業(yè)務(wù)。立足成都服務(wù)隨縣,十余年網(wǎng)站建設(shè)經(jīng)驗(yàn),價(jià)格優(yōu)惠、服務(wù)專業(yè),歡迎來(lái)電咨詢建站服務(wù):18982081108
[oracle@p520b ~]$ !sql
sqlplus / as sysdba
SQL*Plus: Release 11.2.0.4.0 Production on Wed Feb 20 10:40:07 2019
Copyright (c) 1982, 2013, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, Oracle Label Security, OLAP, Data Mining,
Oracle Database Vault and Real Application Testing options
SYS@gbps>
!sql 這個(gè)感嘆號(hào)在shell中是直接調(diào)用history中執(zhí)行過(guò)的命令,可以是數(shù)字,也可以是字符串, !sql就只引用最近以sql開(kāi)頭的命令
你把.bash_history清空再執(zhí)行"!sql"就不行了