... echo FULL_DIR_PATH=$FULL_DIR_PATH 若我在/dirA 目錄下執行此程式# cd /dirA # ./dirB/the_shell.sh DIR_PATH=./dirB FULL_DIR_PATH=/dirA/dirB.
確定! 回上一頁