Time of Update: 2014-10-11
標籤:android style http color 使用 ar java for strong 我們在Android開發中總能看到程式的log日誌內容充滿了螢幕,而真正對開發人員有意義的資訊
Time of Update: 2014-12-14
標籤:login shell non-login shell sudo su- 1.login & non-login shellLinux系統自舉時,核心會建立init進程,來進行一系列的系統初始化操作。每一個使用者登入shell時,無論以偽終端登入:ssh,X11下控制台,還是tty控制台終端,都會讀取相關相關的登入設定檔。linux
Time of Update: 2014-12-09
標籤:shell 使用者密碼到期檢測#!/bin/bash#添加計劃任務#mkdir -p /scripts/#touch /scripts/Passwd_expire_check.sh#vim /scripts/Passwd_expire_check.sh#chmod 755 /scripts/Passwd_expire_check.sh#vim /scripts/Passwd_expire_check.sh#01 00 * * *
Time of Update: 2014-12-07
標籤:style ar color sp strong on bs ad amp 1. basename 是去除目錄後剩下的名字example:shell>temp=/home/temp/
Time of Update: 2014-12-06
標籤:sp bs ef linux nbsp 學習 file 關係 shell 對於linux shell
Time of Update: 2014-11-27
標籤:please domain master file conf="/var/named/chroot/etc/named.conf"datadir="/var/named/chroot/var/named"rpm -q bind &> /dev/nullif [ $? -ne 0 ];thenyum -y install bind
Time of Update: 2014-11-23
標籤:style blog io ar color sp 檔案 on div 最近發現date命令特別好用(在mac裡面不行)1、擷取今天的日期[[email protected] ~
Time of Update: 2014-11-21
標籤:style blog http color 使用 sp on div 2014 SHELL函數調用分為兩種:第一種方式,有點像C語言調用函數的風格,直接把函數的執行結果複製給變數!不過,這
Time of Update: 2014-11-14
標籤:linux $$ #!/bin/bash#Created by ley on 2014-11-14#Testing the Paramtersecho "The compleate list is %s\n" "$$" echo "The compleate list is %s\n" "$!"echo "The compleate list is %s\n"
Time of Update: 2014-11-12
標籤:for 檔案 on file shell 而且 br 命令 l 我想修改類似如下一批檔案的檔案名稱:AA01_01.txtAA01_02.txtAA01_03.txtAA01_04.txt
Time of Update: 2014-11-06
標籤:blog http io color ar os 使用 for sp 網上看到的一個用linux的shell指令碼寫的俄羅斯方塊。是我至今見過寫的最牛逼的shell了。共用一
Time of Update: 2014-11-09
標籤:運算式SHELL指令碼編程---判斷 1、條件判斷 條件判斷在bash分為整數判斷,字元判斷和檔案判斷。 1-1條件判斷的運算式: ① [ expression ] (注意單詞詞頭和詞尾都需要空格) ② [[
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-30
標籤:style io color ar sp div on art 問題 在shell中定義函數可以使代碼模組化,便於複用代碼。不過指令碼本身的變數和函數的變數的範圍問題可能令你費解,在這裡梳
Time of Update: 2014-10-14
標籤:使用 檔案 sp on log bs 伺服器 as 安裝 bin/mail(bin/mailx)預設使用本地sendmail發送郵件,本地的機器必須安裝並啟動Sendmail服務,配置比較
Time of Update: 2014-10-15
標籤:style http color 使用 ar strong 檔案 sp on Shell本身是一個用C語言編寫的程式,它是使用者使用Unix/Linux的橋樑,使用者的大部分工作都是通過S
Time of Update: 2014-10-13
標籤:去掉m經常在windows下編輯的檔案遠程傳送到linux下的時候每行末尾都會出現^M,這將導致shell指令碼運行錯誤,主要是因為dos下的編輯器和linux下的編輯器對檔案末行的斷行符號符處理不一致導致。主要解決如下:(1)在VI編輯器中將^M刪除:將VI編輯器切換到命令模式下,輸入 :%s/^M//g (注意^M 不是shift ^ +M 而是ctrl+v
Time of Update: 2014-12-18
【shell學習筆記】curl命令總結,shell學習筆記curl2014-12-16 20:34 文思海輝===========CURL命令總結1. 下載curl -o [檔案名稱] www.baidu.com2. 顯示 HTTP request頭資訊curl -i www.baidu.com顯示 HTTP response頭資訊curl -I www.baidu.com3. 顯示詳細通訊過程curl -v www.baidu.com4. 發送表單資訊4.1)、 GET方法:curl
Time of Update: 2014-10-28
shell判斷式與判斷符號[]1. 判斷式test命令用於檢測檔案類型和比較值。 判斷檔案是否存在:[work@www sh]$ test -e file.txt && echo "exist" || echo "not exist" not exist[work@www sh]$ 檢查檔案類型: -e 檔案是否存在 test -e filename-f 檔案是否存在,且為檔案 file-d 檔案是否存在,且為目錄