Time of Update: 2014-07-27
標籤:android des http 使用 strong 檔案 資料 io adb介紹SDK的Tools檔案夾下包含著Android模擬器操作的重要命令adb,adb的全稱為(Android Debug
Time of Update: 2014-07-31
標籤:linux shell 實用小執行個體判斷目前使用者是否為root管理員,如果是,則執行tar對/etc/目錄執行備份.#!/bin/bash# IF current user is root then backup the /etcif [ "$(id -u)" -eq 0 ];then tar -czf /root/etc.tar.gz /etc &>/dev/nullelse echo ‘Please switch user on root.‘&
Time of Update: 2014-07-25
標籤:linux shell來源:(linux shell)第一章--小試牛刀(上)從今天開始,我們一起來學習《linux shell指令碼攻略》這本書。1.1簡介shell指令碼通常是一個以#!起始的文字檔,如下所示: #!/bin/bash有兩種執行shell指令碼的方式,分別如下: sh script.sh
Time of Update: 2014-07-26
標籤:des http color os strong io for art To Learn something you need to do it, without the fear of being
Time of Update: 2014-07-24
標籤:進程管理 shell 指令碼迴圈 使用!來調用過往命令!! 重複執行上一條指令!a 重複執行上一條以a為首的指令!nubmer 重複執行上一條在history表中記錄號碼為number的指令!-number重複執行前第number條指令ailas abc=‘cd xxxxxxxxxxx/xxxxxxxx/xxxxxxxxxxxxx‘unalias abc"
Time of Update: 2014-07-26
標籤:linux shell 基礎文章來源: (linux shell)第一章--小試牛刀(下)1.6 數組和關聯陣列 1.6.1 預備知識 Bash同時支援普通數組和關聯陣列,普通數組只能使用整數作為數組索引,而關聯陣列可以使用字串作為數組索引。關聯陣列在很多操作中相當有用。 1.6.2
Time of Update: 2014-07-24
標籤:函數 函數是什麼呢?我們為什麼有使用函數呢?一、函數的相關知識 函數就是就具有某種特定功能的代碼打包起來,提供一個介面以供使用。這樣做的好處是:一方面可以實現代碼複用,例如:許多物件導向的語言,像Java提供的許多類和方法(函數)一樣;另一方面是為了代碼的模組化編程,這樣可以實現多人同時開發代碼。 在 shell
Time of Update: 2014-07-24
標籤:des java os io art for 微軟近期Open的職位:Job posting title: Senior Software Development EngineerLocation: China, BeijingDivision: Operations System
Time of Update: 2014-07-31
標籤:檔案 linux file ad hadoop 總結 shell dfs 為了方便自己回顧記憶,將今天實驗的hadoop命令總結一下,方便後續查看。 注意,下述命令是在hadoop/bin 下操作的。
Time of Update: 2014-07-30
標籤:http os 檔案 io art cti 代碼 ar shell指令碼的最簡單形式就是一串命令的羅列,shell充當解譯器,一條條挨個執行,直到最後一個或遇到退出命令。但這隻能做很簡單的事情,只是省區了每次都要敲一邊命令
Time of Update: 2014-07-30
標籤:shell
Time of Update: 2014-07-29
標籤:style blog io for 2014 cti python size 所有迴文字的結構特徵如下:如果字元數是偶數,那麼它在結構上表現為:一個字元序列連著另一個字元相同但次序恰好相反的字元序列。如果字元數為奇數,那麼
Time of Update: 2014-07-29
標籤:style blog http color os for 代碼 div 凸包直徑旋轉卡殼凸包直徑詳解//計算凸包直徑,輸入凸包ch,頂點個數為n,按逆時針排列,輸出直徑的平方int
Time of Update: 2014-07-27
標籤:shell
Time of Update: 2014-07-27
標籤: #SIZE 10 //直接插入排序 void insert_sort(){ int i,j; int array[SIZE+1]; array[]={0,12,23,11
Time of Update: 2014-07-24
標籤:style blog http color strong io 2014 art 最近在XX項目的測試過程中,接觸到一些HBase的東西,希望能站在測試的角度,把過程記錄下來,期望對快速瞭解它有點協助。作為一個初次接觸它的
Time of Update: 2014-07-24
標籤:shell 參數 變數 問題如下:根據指令碼參數的個數$#進行一個迴圈,在依次輸出每個參數$1 $2 $3......我有一個迴圈變數i$i 取到這時的i為1,我想使用這個1再去調用$1,也是就是列印出第一個參數就是$($i)的意思來取到第幾個參數,當然$($i)是不好用的當時糾結了好久,最後上百度提問,兩位高手給出了答案:1)#!/bin/shN
Time of Update: 2014-07-23
標籤:shell 語句 PrimaryMeaning[ -a FILE ]True if FILE exists.[ -b FILE ]True if FILE exists and is a block-special file.[ -c FILE ]True
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-07-26
(linux shell)第一章--小試牛刀(下),小試牛刀文章來源: (linux shell)第一章--小試牛刀(下)1.6 數組和關聯陣列 1.6.1 預備知識 Bash同時支援普通數組和關聯陣列,普通數組只能使用整數作為數組索引,而關聯陣列可以使用字串作為數組索引。關聯陣列在很多操作中相當有用。 1.6.