Time of Update: 2014-09-03
標籤:blog http os ar 檔案 art 問題 sp log 方法一:修改/etc/sysconfig/i18n 檔案把裡面的LANG="en_US"改成
Time of Update: 2014-07-15
標籤:linux shell 編寫名為auto_change_gw.sh的指令碼,用來自動切換主機網關,相關說明如下:1)有2個可用的網關地址,分別是主網關192.168.10.254和備用網關192.168.10.253,當前使用的預設閘道是192.168.10.254;2)若當前使用的網關地址192.168.10.254出現問題,自動把網關地址切換為192.168.10.253;3)當網關地址192.168.10.254能正
Time of Update: 2014-07-27
標籤:windows 管理程式 lync powershell 在Windows 2012 R2上安裝Lync2013後,無法正常開啟Lync命令列管理程式,現象如:650) this.width=650;" src="http://s3.51cto.com/wyfs02/M00/41/5A/wKioL1PTfSrS4XniAAC4xFArUeA489.jpg"
Time of Update: 2014-07-03
標籤:shell 指令碼 快速 ssh 登入主機 如果你也是以Linux 為工作環境的童鞋,那麼此文真是捷報!因為我的學習/工作中(特別是最近玩耍樹莓派)經常會使用到ssh 登入其他主機,而每次使用ssh 登入都需要輸入老長一大串讓我很煩,所以我寫了這個指令碼來簡化我的ssh 過程。使用這個指令碼,如果我想登入一台機器,我只要使用 $~/easy_ssh.sh
Time of Update: 2014-06-27
標籤:apache 日誌分析 shell 一、首先將apache日誌按天切割 vi /etc/httpd/conf/httpd.confErrorLog “|rotatelogs /var/log/httpd/%Y%m%derror_log 86400 480″CustomLog “|rotatelogs
Time of Update: 2014-06-27
標籤:des ext com strong os linux 答案1:The shell is a typical Unix program. It reads commands from the standard input and prints something on the
Time of Update: 2014-09-26
標籤:style color os 使用 ar 檔案 sp div on 通過在shell指令碼中用expect實現遠程scp檔案: 使用expec
Time of Update: 2014-09-25
標籤:style blog http 使用 ar for 檔案 div sp 在編寫shell scripts時,經常會用到括弧,各種括弧,各種用法。 一、括弧、圓括弧()
Time of Update: 2014-09-17
標籤:linux scp sshpass
Time of Update: 2014-09-11
標籤:shell 編程 linux unix 核心
Time of Update: 2014-09-02
標籤:blog io 使用 java ar 檔案 div log amp 一個Regex就是由一般字元(例如字元 a 到
Time of Update: 2014-08-20
標籤:style os for ar amp size on sp 給出一個點集,求頂點在點集中的最大的三角形面積。我們知道這三角形的三個點肯定在凸包上,我們求出凸包之後不能枚舉,因為題目n比較大,枚舉的話要O(n^3)的數量級
Time of Update: 2014-08-18
標籤:style blog http color 使用 io strong 檔案 人嘛,總是想提高效率,創造更多的價值,同時也得到更多的選擇空間。可一個人的精力,時間終歸是有限的,減少自身重複或無意義工作就顯得格外重
Time of Update: 2014-08-14
標籤:style 使用 os strong 檔案 for ar 代碼 在Linux平台上開發,經常會在console(控制台)上執行另外一個指令檔,經常用的方法有:./my.sh 或 sour
Time of Update: 2014-08-07
標籤:blog http 使用 檔案 for html 工作 時間 [轉自]http://blog.chinaunix.net/uid-168249-id-2860686.html引用:一、使用者登陸進入系統後的系統內容變數:&
Time of Update: 2014-08-06
標籤:des http os io for ar cti div OverviewappendToFilecatchgrpchmodchowncopyFromLocalcopyToLocalcountcpdudusexpunge
Time of Update: 2014-07-28
標籤:http 使用 檔案 for 工作 linux ar htm 1.for迴圈語句執行個體1.1 最基本的for迴圈 #!/bin/bash for x in one two three
Time of Update: 2014-07-23
標籤:unary operator expected shell指令碼報錯:"[: =: unary operator expected" md5_109a="81ab961153b62d207f0f517048881b5d" md5_109b=`md5sum install.bin|awk ‘{print $1}‘` if [ $md5_109a !=
Time of Update: 2014-09-11
[Shell]if、for、while流程語句以及整數字串判斷比較的執行個體詳解前言:實際上Shell是一個命令直譯器,它解釋由使用者輸入的命令並且把它們送到核心。不僅如此,Shell有自己的程式設計語言用於對命令的編輯,它允許使用者編寫由shell命令組成的程式。Shell程式設計語言具有普通程式設計語言的很多特點,比如它也有迴圈結構和分支控制結構等,用這種程式設計語言編寫的Shell程式與其他應用程式具有同樣的效果。一,shell的流程語句1,條件陳述式if else
Time of Update: 2014-08-12
Linux Shell 指令碼監控 WAS (WebSphere Application Server) 的運行狀態原理:通過調用 WAS 內建的指令碼 wsadmin.sh 來擷取執行個體的狀態作業系統版本:[root]# head -1 /etc/redhat-releaseRed Hat Enterprise Linux Server release 5.3 (Tikanga)WAS 版本:[root]#