摘要:
# this is shell which has been tesed in unixbquit=false while (! $bquit)do echo " press any key to continue . . .(q or quit to exit)" read cmd cmd=`ec 阅读全文
文章分类 - SHELL
connect DB
2016-11-18 11:46 by 雄风狂飙, 106 阅读, 收藏, 编辑
摘要:
sqlplus -s ${ACT_DBUSERID}/${ACT_PASSWD}@${ACT_DB} <<EOF insert into tl_c_syscheck_log (ID, GROUP_ID, HOST, CHECK_POINT, STATE, CHECKRESULT, CHECKSTAFF, CHECK_DATE, AUDITOR, AUDIT_DATE, STR1, STR2, S... 阅读全文
ftp
2016-11-18 11:43 by 雄风狂飙, 54 阅读, 收藏, 编辑
摘要:
ftp -i -in<<! open xx.xx.xx.xx user username password bin prompt cd $2 get $1 bye ! fi 阅读全文