Time of Update: 2014-11-11
標籤:android style blog http io color ar os 使用 adb shell
Time of Update: 2014-11-15
標籤:blog io ar for strong on 2014 art log for 列表形式for variable in {list}do statementdonefor
Time of Update: 2014-11-16
標籤:http io ar 使用 sp for 檔案 資料 div Shell指令碼:向磁碟中批量寫入資料一、關於本文工作要做的監控系統需要監控磁碟空間的使用率並警示。在測試這個功能的時候需要類
Time of Update: 2014-11-11
標籤:style blog color ar os 使用 sp strong 檔案 一、crond簡介crond是linux下用來周期性的執行某種任務或等待處理某些事件的一個守護進程,與wind
Time of Update: 2014-11-11
標籤:blog os 使用 sp div 問題 log bs as $# 傳遞到指令碼的參數個數$*
Time of Update: 2014-11-07
標籤:getopts shell指令碼參數處理 shell intruduction shell 指令碼有二種方法定位指令碼參數,一種是使用位置變數,二是使用getopts。使用位置參數有兩個限制,他需要編程者自己測試錯誤並建立相應的訊息。若使用shift處理參數,shift命令會刪除掉所有的參數,如果你想在以後再次訪問他們,將是不可能的。 getopts是built-in
Time of Update: 2014-11-07
標籤:style http io 使用 sp on 2014 問題 bs 一、用於shell指令碼的介面命令互動 echo "請輸入css-dist:" read addcss echo "
Time of Update: 2014-11-07
標籤:io ar os sp for 檔案 div on cti [ -a FILE ] 如果 FILE 存在則為真。&n
Time of Update: 2014-11-03
標籤:環境變數 bash shell 設定檔 介紹 瞭解Linux的啟動順序,也有助於本內容的理解,載入使用者環境是Linux啟動的最後一步。不同的shell 會使用不同的設定檔: bash (.profile), ksh (.profile), csh (.login)。bash shell 被設計成相容sh, ksh,
Time of Update: 2014-11-01
標籤:shell loop while until for 1. 迴圈shell迴圈,不斷執行某段程式,直到符合條件。迴圈分為4種, while迴圈,until迴圈,for固定處理, for數值處理。2. while迴圈while迴圈是一直執行,直到條件不符合,才停止。文法:while [ condition
Time of Update: 2014-11-03
標籤:shell特殊變數列表變數含義$0當前指令碼的檔案名稱$n傳遞給指令碼或函數的參數。n 是一個數字,表示第幾個參數。例如,第一個參數是$1,第二個參數是$2。$#傳遞給指令碼或函數的參數個數。$*傳遞給指令碼或函數的所有參數。[email protected]傳遞給指令碼或函數的所有參數。被雙引號(" ")包含時,與 $* 稍有不同,下面將會講到。$?上個命令的退出狀態,或函數的返回值。$$當前Shell進
Time of Update: 2014-11-03
標籤:blog http io ar 使用 for 檔案 div on 引言shell,我們常常會用到,以其強大的功能,會協助我們解決非常多棘手的問題。近期遇到一個問題,要跑非常多case,假設
Time of Update: 2014-10-28
標籤:style blog http ar for sp strong on art 符合含義&&command1 &&
Time of Update: 2014-10-30
標籤:jenkins shell ci ssh 用過Jenkins的都知道,在Build配置那裡有一個Add buld step, 有這樣兩個選項:1. Execute Windows batch command2. Execute
Time of Update: 2014-10-21
標籤:快捷啟動 rdesktop zenity gui 平時經常要遠端連線windows的機器,所以rdesktop是必備的。近來安裝了gnome介面的centos7,發現一直使用的rdesktop命令變成了rdesktop-vrdp了,不過能用就行。要用shell指令碼為rdesktop加點GUI介面首先要安裝有zenity,然後寫一個這樣的指令碼:#!/bi
Time of Update: 2014-10-18
標籤:style blog http color io os ar 使用 sp 在好朋友的推薦下,我看了這個視頻: The Black Magic Of SSH這個視頻裡面,介紹了 &
Time of Update: 2014-10-17
標籤:io ar 使用 for sp 檔案 art on cti 安裝一個軟體,最後產生的報告中,要求“To start using the EGSnrc system,
Time of Update: 2014-11-09
使用自動化shell指令碼尋找CPU使用的詳細線程資訊,shell指令碼項目加了些攔截器代碼後,CPU警示,顯示CPU使用率超過100%;想要尋找到底是哪些代碼消耗的資源過多,從網上找到一篇博文,轉載如下:http://blog.csdn.net/guixunlong/article/details/8450897在知道哪個Java進程CPU佔用率過高以後:1.使用命令 jstack PID 命令列印出CPU佔用過高進程的線程棧,例如jstack 12012 >
Time of Update: 2014-11-07
非常強大的shell寫的俄羅斯方塊,shell俄羅斯方塊網上看到的一個用linux的shell指令碼寫的俄羅斯方塊。是我至今見過寫的最牛逼的shell了。共用一下。原作者資訊在指令碼的注釋中有。:點擊下載#!/bin/bash # Tetris Game# 10.21.2003 xhchen<[email]xhchen@winbond.com.tw[/email]> #APP
Time of Update: 2014-11-01
一個修改設定檔的linux shell script,不久以前,曾經搜到一篇部落格是讀取設定檔的,http://www.cnblogs.com/bo083/archive/2012/11/19/2777076.html,用到現在,感覺十分方便,感謝作者。現在,需要通過web介面給使用者留出介面來修改類似設定檔,大的方法是從php調用linux shell script,於是,現在貼一個可以修改此種設定檔的linux