Time of Update: 2014-10-11
標籤:style blog color io os ar 檔案 資料 sp 指令碼代碼: 建立檔案back_db.sh #!/bin/bash
Time of Update: 2014-10-11
標籤:linux unix 登陸環境 4種變數 各種引號的作用 第十三章 登陸環境登陸系統時,輸入使用者名稱和密碼後,如果驗證通過,則進入登入環境。登入過程檔案/etc/passwd$HOME.profile定製$HOME.profile/etc/passwd 檔案解析(抽取其中的一行作為樣本): 1234 5
Time of Update: 2014-09-10
標籤:style blog http color os io 使用 ar strong 2011-09-27 22:11:51| 分類: rhel5_
Time of Update: 2014-09-03
標籤:blog http os ar 檔案 art 問題 sp log 方法一:修改/etc/sysconfig/i18n 檔案把裡面的LANG="en_US"改成
Time of Update: 2014-08-21
標籤:http linux sp ef 應用 c net ip 該Linux/shell命令主要用於解決:1、查看某連接埠是否被佔用;2、查看某連接埠被哪個進程佔用;3、查看某個進程佔用了哪些連接埠;比如我tomcat啟動失敗,
Time of Update: 2014-07-22
標籤:style blog http color 使用 os 轉載 http://www.cnblogs.com/caosiyang/archive/2012/06/25/2560976.html 簡單說一下popen()函數函數定義1 #include <stdio.h>
Time of Update: 2014-07-27
標籤:windows 管理程式 lync powershell 在Windows 2012 R2上安裝Lync2013後,無法正常開啟Lync命令列管理程式,現象如:650) this.width=650;" src="http://s3.51cto.com/wyfs02/M00/41/5A/wKioL1PTfSrS4XniAAC4xFArUeA489.jpg"
Time of Update: 2014-09-28
標籤:des style blog http color io os 使用 ar HBase shell的基本用法hbase提供了一個shell的終端給使用者互動。使用命令hbase
Time of Update: 2014-09-25
標籤:style blog http 使用 ar for 檔案 div sp 在編寫shell scripts時,經常會用到括弧,各種括弧,各種用法。 一、括弧、圓括弧()
Time of Update: 2014-09-14
標籤:des blog http io ar 檔案 div sp log Shell判斷檔案是否存在 #!/bin/sh#shell判斷檔案,目錄是否存在或者具有許可權myPath="/var/
Time of Update: 2014-09-14
標籤:sed awk shell 網路爬蟲 前天簡單分享了用 shell 寫網路爬蟲的一些見解,今天特地把代碼發出來與51博友分享,還是那句話,愛技術、愛開源、愛linux。 針對指令碼的註解和整體構思,我會放到指令碼之後為大家詳解。#!/bin/bash#
Time of Update: 2014-09-13
標籤:style blog http io os 使用 ar div sp 如果運算式中包含特殊字元,Shell
Time of Update: 2014-09-11
標籤:shell在解答本章題目之前,先讓我們瞭解一個概念:return value !我們在 shell 下跑的每一個 command 或 function ,在結束的時候都會傳回父行程一個值,稱為 return value 。在 shell command line 中可用 $? 這個變數得到最"新"的一個 return value ,也就是剛結束的那個行程傳回的值。Return Value(RV) 的取值為 0-255
Time of Update: 2014-09-11
標籤:shell awk sed 網路爬蟲 上周,老大壓下來任務,讓寫一個網路爬蟲,負責爬某一個行業網站的資料資訊。由於本人只會 shell 程式設計語言,其它程式設計語言從未涉獵,因此就只能硬著頭皮用 shell 去寫了。
Time of Update: 2014-08-27
標籤:des style blog color io strong 資料 div log 一般操作查看伺服器狀態status查看hbase版本version DDL操作建立表creat
Time of Update: 2014-08-23
標籤:blog 使用 檔案 for ar art div log sp 拆解指令碼header_start=0header_len=15xref_start=$(strings -a -t d
Time of Update: 2014-08-18
標籤:使用 檔案 linux on sp c 簡單 總結 tr(translate縮寫)主要用於刪除檔案中的控制字元,或進行字元轉換。文法:tr [–c/d/s/t] [SET1] [SET2]SET1:
Time of Update: 2014-08-18
標籤:style color 使用 os io strong 檔案 ar 1、 ls: 類似於dos下的dir命令ls最常用的參數有三個: -a -l -
Time of Update: 2014-08-07
標籤:function 設定檔 present error write 編寫一個指令碼,全自動安裝samba服務,共用的目錄。由使用者輸入,
Time of Update: 2014-08-03
標籤:linux指令碼選擇結構bash之選擇結構 選擇程式結構用於判斷給定的條件,根據判斷的結果判斷某些條件,根據判斷的結果來控製程序的流程。(關於shell指令碼中選擇結構的詳細使用方法請查看協助文檔) if語句的幾種結構 (一)if 判斷條件