Time of Update: 2014-08-09
標籤:http 使用 io strong for 問題 cti linux 1.各種Unix
Time of Update: 2014-08-05
標籤:style blog color os for div linux line #!/bin/bashecho "Enter the old ip:"$1echo "Ente
Time of Update: 2014-08-03
標籤:des style blog color io 檔案 2014 cti 1 #!/bin/bash - 2 #======================================================
Time of Update: 2014-08-02
標籤:des style http os io 檔案 資料 for 1、Unix shell的功能 shell是一個管理進程和運行程式的程式。所有常用的shell都有3個主要功能: (1)運行程式;
Time of Update: 2014-08-02
標籤:字串處理shell編程之字串處理 在 shell
Time of Update: 2014-08-13
標籤:shell指令碼 linux營運 自動化營運一.學好shell編程的知識儲備 1.相關Linux系統命令應用; 2.Vi/vim
Time of Update: 2014-08-12
標籤:style blog http color 使用 strong 檔案 for 轉載:http://blog.chinaunix.net/u/22677/showart_1076318.html1.簡介sed是非互動編輯器。
Time of Update: 2014-08-12
標籤:使用 div 代碼 應用 程式 編程 on 測試 位置參數可以用shift命令左移。比如shift
Time of Update: 2014-08-11
標籤:style 使用 os io ar cti div 代碼 在shell中,最簡單的調試助手時輸出語句echo,可以通過把許多echo語句放到代碼中進行調試,但必須花費足夠的時間以定位要查看的資訊。可能必須通過許多的輸出才能
Time of Update: 2014-08-09
標籤:shell if 使用 判斷 IF 判斷之前也寫過簡單的shell指令碼,也不是轉職營運,和系統相關的工作比較少,所以不怎麼熟練。最近由於系統總是出現各種亂七八糟的問題,也沒有人來協助,只好自己寫shell指令碼了,都是些基礎的指令碼,但由於shell的文法和通常的進階語言有些不一樣,所以還是要系統的看下常用的部分。
Time of Update: 2014-08-07
標籤:終端 檔案夾 linux 我知道的有兩種方法, 都是命令後面加路徑(nautilus|pcmanfm dir_path)方法一: 使用 nautilus 安裝:sudo apt-get intstall nautilus 效果:nautilus ~方法二:
Time of Update: 2014-08-05
標籤:hadoop叢集 hadoop hdfs shell Distributed File
Time of Update: 2014-08-01
標籤:software windows password linux expect Expect是一個用來實現自動互動功能的軟體套件(Expect [is a] software suite for automating interactive
Time of Update: 2014-08-01
標籤:使用 strong io 檔案 問題 ar 時間 應用 最近在梳理bash知識的的過程中,有幸閱讀了man bash文檔,一時間猶如醍醐灌頂一般,很多當初不明白的地方都豁然開朗,現在就其中的一點做一分享,同時也為man
Time of Update: 2014-07-31
標籤:檔案 linux file ad hadoop 總結 shell dfs 為了方便自己回顧記憶,將今天實驗的hadoop命令總結一下,方便後續查看。 注意,下述命令是在hadoop/bin 下操作的。
Time of Update: 2014-07-29
標籤:檢測 file element #!/bin/bash## Judging the element is a file or a folderif [ $# -lt 1 ];then echo "ERROE!! 
Time of Update: 2014-07-28
標籤:blog http 使用 os 檔案 資料 ar file hadoop fs 列出所有的命令hadoop fs -help ls 列出某個命令的詳細資料hadoop dfs -mkdir /data/
Time of Update: 2014-08-13
《學習bash》筆記--調試shell程式在shell中,最簡單的調試助手時輸出語句echo,可以通過把許多echo語句放到代碼中進行調試,但必須花費足夠的時間以定位要查看的資訊。可能必須通過許多的輸出才能發現要尋找的資訊。1.set選項最基本的時set -o命令選項,當運行指令碼時,這些選項可以用在命令列上,如下表所示: set -o選項 命令列選項 行為 noexec -n 不運行命令,值檢查語法錯誤 verbose -v 在運行命令前回送它們 xtrace -x
Time of Update: 2014-08-12
[Shell]if 常用判斷條件,shellif判斷條件IF 判斷之前也寫過簡單的shell指令碼,也不是轉職營運,和系統相關的工作比較少,所以不怎麼熟練。最近由於系統總是出現各種亂七八糟的問題,也沒有人來協助,只好自己寫shell指令碼了,都是些基礎的指令碼,但由於shell的文法和通常的進階語言有些不一樣,所以還是要系統的看下常用的部分。 if語句就是很重要的一個。這種文章很多,只是拿來主義,如果有心得體會也會加上,小計下以後備查。 基本結構:
Time of Update: 2014-08-12
[Shell]判斷目前使用者判斷目前使用者是否為root,如果是提示為root使用者,如果不是提示為普通使用者#!/bin/bash#title: testus.sh#author: orangleliu#date: 2014-08-09#desc: get current user, if it is root user, tell us it is super user or tell us is a common user#================#Function