Time of Update: 2016-10-20
標籤:1、
Time of Update: 2016-08-12
標籤:#!/bin/sh# Database infoDB_USER="batsing"DB_PASS="batsingpw"DB_HOST="localhost"DB_NAME="timepusher"# Others varsBIN_DIR="/usr/bin" #the mysql bin pathBCK_DIR="/mnt/mysqlBackup" #the backup file directoryDATE=`date +%F`# TODO#
Time of Update: 2016-08-09
標籤:###this is deploysql.sh####!/bin/bashLANG="en_US.UTF-8"date=`date +‘%Y%m%d_%H%M%S‘`user=rootpassword=yourpasswordcd /root/SQLtest/svn upif [ $? = 0 ];then get_env=`cat /root/SQLtest/upgrade.sql |grep ^#ENV=|sed ‘s/#ENV=//g;s/.$//
Time of Update: 2016-08-03
標籤:原創作品,允許轉載,轉載時請務必以超連結形式標明文章 原始出處 、作者資訊和本聲明。否則將追究法律責任。http://nbmonster.blog.51cto.com/1977736/665767 sqlplus與shell互相傳值的幾種情況 情況一:在shell中最簡單的調用sqlplus$cat
Time of Update: 2016-05-20
標籤:shell 游標移動指令? 對應方向鍵移動 h 左移一字元 k 上移一行 j 下移一行 l 右移一字元 ? 按行單位移動 0 移到行首 $ 移到行尾
Time of Update: 2015-12-08
標籤:小小的東東,用於資料庫的備份。留存。#!/bin/shkeepDays=30currentTime=`date "+%Y-%m-%d-%H-%M"`backPath="/sql_bak/"dbName="smDB"echo ${currentTime}/usr/bin/mysqldump --default-character-set utf8 -u xxx --password=xxx --database ${dbName} >
Time of Update: 2015-12-02
標籤:bash是Unix/Linux作業系統最常用的shell之一,它非常靈活,和awk、c++配合起來異常強大以下使用一個測試指令碼來說明使用bash調試的方法test.sh[plain] view
Time of Update: 2015-10-29
標籤:sqlite的安裝 1. 首先是下載sqlite,可以該頁面下載:http://www.sqlite.org/download.html 當前的最新版本為:sqlite-shell-win32-x86-3070701.zip這個是windows下sqlite的命令列管理工具,用它可以管理sqlite資料庫檔案 同時最好把文檔也下載下來,裡麵包含了詳細的sqlite的使用說明:sqlite-doc-3070701.zip 2.
Time of Update: 2017-01-09
標籤:idt cbo padding out log .exe trace keyword top命令 在實際項目中,Java有時候需要調用C寫出來的東西,除了JNI以外,我認為一種比較好的方法
Time of Update: 2016-12-24
標籤:數組 array 元素 bash shell 下標 一、定義陣列變數 1、文法 (1)ArrayName=(parameter1 parameter2
Time of Update: 2016-12-23
標籤:for 考試 processor ash oca url contain 老男孩教育 51cto #!/bin/shPATH=/usr/local/sbin:/usr/local/bin:
Time of Update: 2016-04-09
標籤:#include<iostream>#include<string>#include<vector>using namespace std;void swap(int a[], int i, int j);void insert_sort(int a[], int n){for (int i = 1; i < n; i++){int temp = a[i], j = i;while (j&&temp < a[j -
Time of Update: 2015-08-14
標籤: try{ String cmdStr="C:\\SSH\\ssh2.exe [email protected] /home/azik/tmp/echo_date.sh"; Process mypro=Runtime.getRuntime().exec(cmdStr); mypro.waitFo
Time of Update: 2015-08-08
標籤:shell簡介
Time of Update: 2015-08-05
標籤: 1 ######################################################################### 2 # File Name: muscian.sh 3 # Author: dty 4 # mail: [
Time of Update: 2016-07-09
標籤:最近,為了實驗我們安裝了台Windows Server Core的伺服器,沒有圖形介面的系統總會給人一種很完全的感覺,我們本著安全到底的想法,使用了Windows Remote Shell 的管理方式,因為WinRM基於Web服務管理(WS-Management)標準,使用HTTP協議80連接埠(HTTPS port 443)。最近,為了實驗我們安裝了台Windows Server Core的伺服器,沒有圖形介面的系統總會給人一種很完全的感覺,我們本著安全到底的想法,使用了Windows
Time of Update: 2016-12-28
標籤:註冊 網路 帳號 jpg 教程 index 它的 bcb 工具 不經意的時候看到路由器裡面有個動態網域名稱,後來網上一查知道是可以建立個人網站,然後讓網路上的其它使用者可以訪問自己開設的伺
Time of Update: 2016-11-12
標籤:安全性 pop 管理 font 過程 daemon 版本 運行 ref SSH 為 Secure Shell 的縮寫,由 IETF 的網路小組(Network
Time of Update: 2016-05-29
標籤:突然很想找個地方寫一點文章,又想到了這個老帳號;沒有因長期靜默被刪號實在是很感動。。。好吧,就這樣紀念一下。第一天。I suddenly wanna write something and recall my old old account here,which is still available.Thanks to for keeping my account,cnblogs.Well,that‘s all for today,the first day
Time of Update: 2016-09-21
記一次bash shell編寫指令碼內容如下: 目的是監測mongo的串連數 達到一定的串連數後,重啟。#!/bin/bash#source /etc/profileconn=`/usr/bin/mongo --quiet db.serverStatus().connectionsexitEOF`conn1=${conn#*:}curr=${conn1%,*}#PID=$(ps -ef|grep "mongodb"|grep -v grep|awk '{print $2}')echo