Time of Update: 2014-07-28
標籤:android style blog color 使用 資料 io for adb shell am使用此命令可以從cmd控制台啟動 activity, services;發送 broadcast等等: 1
Time of Update: 2014-08-02
標籤:des style http os io 檔案 資料 for 1、Unix shell的功能 shell是一個管理進程和運行程式的程式。所有常用的shell都有3個主要功能: (1)運行程式;
Time of Update: 2014-07-30
標籤:des style http 使用 strong io art 代碼 1、“ \ ” 用法用於關閉其後續字元的特殊含義,恢複字元的本身含義,如:\\ 表示字元 \2、 “
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-09
標籤:style blog http color 使用 strong 第一部分 簡單的常用指令1、date命令 date 2、顯示日曆 cal 3、顯示目前的目錄
Time of Update: 2014-07-08
標籤:if then else單分支if語句if 判斷條件;then statement1 statement2fi雙分支if語句if 判斷條件;then statement1 statement2 ……else &
Time of Update: 2014-07-03
標籤:指令碼 github 捷報捷報捷報捷報捷報捷報來襲,本系列的指令碼已在Github 上開了版塊, 我命名為“ easy shell ”(點此進入)。目前已添加前面幾期中的指令碼,日後還會有更多改變生活改變世界的指令碼繼續加入。如果你也有興趣,希望你也奉獻一份力量。您的支援是我最大的前勁動力。如何使用?!1. 直接網頁開啟“ https://github.com/longerzone/easy_shell
Time of Update: 2014-08-01
標籤:檔案 資料 for ar 時間 file c user 文本行中各列打亂:awk ‘BEGIN{srand()}{for(i=1;i<=NF;i++) b[rand()NF]=$i}END{for(x in
Time of Update: 2014-07-31
標籤:shellshell中有些符號在不同界定下會被不同處理,界定主要有3種方式:(1)單引號(2)雙引號(3)反引號我們最常用的就是雙引號和單引號,對於這2個符號,用$變數可以很清楚的說明它們的區別,如下:[[email protected] ~]$ echo ‘Home is $HOME‘Home is $HOME[[email protected] ~]$ echo "Home is $HOME"Home is
Time of Update: 2014-07-30
標籤:style blog http color 使用 os strong 檔案 shell script 入門 在 shell script 的撰寫中還需要用到底下的注意事項:1.
Time of Update: 2014-07-17
標籤:shell Regex 一、Regex簡述·概念:用一串字元,描述有共同屬性的資料·注意:使用Regex匹配時,一定要注意 \ 轉移符號的使用·格式:a、 grep [選項] ‘Regex’ 檔案清單1 檔案清單2b、 |
Time of Update: 2014-07-15
標籤:shell tr命令 tr命令不接受指定的檔案參數,而只是對標準輸入進行翻譯, tr是translate的簡寫,亦即翻譯,需要注意的是,它不能翻譯句子,只能翻譯單個字元。首先,定義變數: [[email protected]]#A=1,,2,,,3,,,4,,,5下面以樣本對該命令以及其常用選項進行介紹。樣本:1.
Time of Update: 2014-07-14
標籤:shell memcached linux 注意:要使用這個shell,必須先成功建立memcache環境1》建立memcached檔案和許可權[[email protected] ~]# touch /etc/init.d/memcached[[email protected] ~]# chmod +x
Time of Update: 2014-07-10
標籤:${ } `` $() shell $()、``用來作命令替換${ }用來作變數替換(以下內容來自shell十三問) (1). 變數的界定 $ A=
Time of Update: 2014-07-11
標籤:blog http 2014 for io ar 一、for迴圈for var in [ list ]do #code
Time of Update: 2014-07-11
標籤:style blog http java 使用 os 前言: ssh命令, 沒有指定密碼的參數. 以至於在指令碼中使用ssh命令的時候, 必須手動輸入密碼, 才能繼續執行. 這樣使得指令碼的自動化執行變得很差, 尤其當ssh對應的機器數很多的時候, 會令人抓狂.本文講解了兩種方式,
Time of Update: 2014-07-11
標籤:blog http 檔案 2014 ar c 一、一般變數#/bin/shnum=2echo "this is the ${num}nd"
Time of Update: 2014-07-26
(linux shell)第一章--小試牛刀(下),小試牛刀文章來源: (linux shell)第一章--小試牛刀(下)1.6 數組和關聯陣列 1.6.1 預備知識 Bash同時支援普通數組和關聯陣列,普通數組只能使用整數作為數組索引,而關聯陣列可以使用字串作為數組索引。關聯陣列在很多操作中相當有用。 1.6.
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-24
花生殼發布網站直接將網址綁定到具體的項目上——jboss版html 這個檔案,在裡面加上<SCRIPT>window.location.href="網址/項目名/"</SCRIPT> 做法有點很不地道啊,如果大家有什麼別的方法請告知,用了網上比的方法不行,比如加<jboss-web><context-root>/</context-root> </jboss-web>訪問首頁可以,如果訪問