這個部份介紹簡單的 shell script 語法 一般 shell script 用 bourne shell 撰寫,以下範例亦使用 sh 語法 path 相對路徑 相對於目前所在位置的路徑 Ex. cd ../../foo # cd 到上上層底下的 foo 絕對路徑 從根目錄算起來的路徑 Ex. cd /usr/local/foo # cd 到 ...
help.cs.nctu.edu.tw