Author Archives: hao

[Shell Tips] 使用變數來控制迴圈的次數

Posted in shell script | Tagged | Leave a comment

[Shell Tips] 將字串轉換成 hex code

Posted in shell script | Tagged | Leave a comment

[Shell Tips] 取出檔案修改的日期及時間

Posted in shell script | Tagged | Leave a comment

[Shell Tips] 在shell script 中, 將函數的結果以指定變數傳回

Posted in shell script | Tagged | Leave a comment

[Shell Tips] 找出正在執行中的shell script 的絕對路徑

Posted in shell script | Tagged | Leave a comment

[Shell Tips] 一次砍掉所有的 .svn 目錄(包含子目錄)

Posted in shell script | Tagged | Leave a comment

[Shell Tips] 檢查是否有 root 權限

Posted in shell script | Tagged | Leave a comment

[Shell Tips] 判斷 debian/ubuntu 是否已經安裝某個套件

Posted in shell script | Tagged | Leave a comment

[Shell Tips] 將命令列之參數轉換成 shell 內部的變數

Posted in shell script | Tagged | Leave a comment

[Shell Tips] for i = 0 to 6, 或者 a to z 之使用方法

Posted in shell script | Tagged | Leave a comment