看板 Linux 關於我們 聯絡資訊
最近剛接觸Linux這個系統 想請問一下 要怎麼在SCRIPT檔案裡面SOURCE CIC的檔案 我在Script裡面打SOURCE 他會說CIC那邊的檔案有路徑找不到 想請問一下該怎麼寫比較好... -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 140.117.165.97 ※ 文章網址: https://www.ptt.cc/bbs/Linux/M.1445216774.A.B80.html
timmerix: 你先確定路徑有沒有對... 10/19 10:09
路徑有正確耶...
rehon: 你在terminal下source cic的檔案會不會有問題? 10/19 14:01
在termial下很正常 ※ 編輯: pcheric (140.117.165.97), 10/19/2015 14:54:13 ※ 編輯: pcheric (140.117.165.97), 10/19/2015 14:54:30
dou0228: 請指定 shell 為 /bin/bash, 而不是 /bin/sh 10/19 15:13
nihility7893: 看看這兩種有沒有差 ./*.sh 或 sh *.sh 10/19 20:11
johnjohnlin: CIC 用的是 tcsh 10/19 20:22