Time of Update: 2014-11-11
標籤:android style blog http io color ar os 使用 adb shell
Time of Update: 2014-11-27
標籤:continue gateway please rpm -q dhcp &> /dev/nullif [ $? -ne 0 ]thenyum -y install dhcpecho "ddns-update-style interim;ignore client-updates;option domain-name-servers 19
Time of Update: 2014-11-26
標籤:style ar 使用 sp on bs amp as size 引號的作用1 雙引號(“”)1)使用””可引用除字元$(貨幣符號
Time of Update: 2014-11-21
標籤:style blog http ar color os 使用 sp strong bash shell命令與監測的那點事之df與du 前兩篇介紹了bash
Time of Update: 2014-11-18
標籤:des style blog io color 使用 sp strong 檔案 寫SHELL好久了,經常被異常困擾,可竟然堅持了若干年沒用過,回想以前服務過的公司,阿彌陀佛,
Time of Update: 2014-11-16
標籤:interface network example 流量 sleep #!/bin/bashfunction usage{ echo "use ./test_net.sh ethX time"
Time of Update: 2014-11-09
標籤:command export 解譯器 java 認證 linux-Bash 指令碼編輯 編輯語言的類型 解釋型語言(Bash Python perl) 定義: 通過解譯器來讀入我們編寫的代碼,將其轉換為系統相關命令。 執行優點:
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
標籤:style blog http ar os 使用 sp 檔案 div linux shell if 參數shell 編程中使用到得if語句內判斷參數 –b
Time of Update: 2014-11-07
標籤:io ar os sp for 檔案 div on cti [ -a FILE ] 如果 FILE 存在則為真。&n
Time of Update: 2014-10-31
標籤:linux shell 設定檔 容錯 不久以前,曾經搜到一篇部落格是讀取設定檔的,http://www.cnblogs.com/bo083/archive/2012/11/19/2777076.html,用到現在,感覺十分方便,感謝作者。現在,需要通過web介面給使用者留出介面來修改類似設定檔,大的方法是從php調用linux shell
Time of Update: 2014-11-01
標籤:shell function 1. 函數shell的函數(function),用於自訂一段程式段。用於簡化代碼。文法:funtion fname() { //do something}shell是自上而下,由左而右執行的。所以函數的定義需要在調用的前面。例如:#!/bin/bash# author : yonggangfunction print_it(){ echo -n "Your choice
Time of Update: 2014-10-31
標籤:shell test運算式650) this.width=650;" src="http://s3.51cto.com/wyfs02/M01/4D/83/wKioL1RSSRHxRte-AAFhU-dm6eA664.jpg" style="float:none;" title="test1.jpg" alt="wKioL1RSSRHxRte-AAFhU-dm6eA664.jpg" />650) this.width=650;" src="http://s3.51cto.com/wyfs02
Time of Update: 2014-10-28
標籤:style blog http ar for sp strong on art 符合含義&&command1 &&
Time of Update: 2014-10-25
標籤:style blog http color io os ar 使用 strong 來源:(linux shell)第一章--小試牛刀(上)從今天開始,我們一起來學習《linux
Time of Update: 2014-10-28
標籤:style blog io color ar sp div on log 一、文法until [ condition ] # 和while相反,當 condition
Time of Update: 2014-11-25
shell-find錯誤解析,shell-find解析之前寫過一篇文章,用shell定時清除到期檔案《shell定時清除到期檔案》,其實用的就是簡單的find命令後面同事採用之後,他調試指令碼的時候,出現了幾個錯誤,我做了整理:1.find: paths must precede expression: exec運算式不完整,在exec之前加一個執行符號“-”,就好了2.find: missing argument to
Time of Update: 2014-11-21
鳥書shell 學習筆記(二) shell中Regex相關,shellRegex萬用字元與Regex的區別萬用字元是bash原生支援的文法,Regex是處理字串的一種表示方式, Regex需要支援的工具支援才可以語系設定 : export LANG=Cgrep alias 設定 : grep --color=autogrep 的一些進階參數grep [-A] [-B] '搜尋字串' filename //同時輸出之前的k行和之後的m行-A : 後面可加數字,表示列出改行以及之後的n行-B :
Time of Update: 2014-11-19
Linux Shell參數擴充(Parameter
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