之前基礎不紮實- -bash
如今定義一個環境變量都挺難受ide
1 #InstallJammer 2 MY_INSTALLJAMMER_PATH=/home/shivency/tools/installjammer 3 export PATH=$MY_INSTALLJAMMER_PATH:$PATH
第二行那兒guide上以前有一個$,弄了很久發現是坑爹的- -測試
測試:ui
which installjammer
/home/shivency/tools/installjammer/installjammer
測試:spa
MY_INSTALLJAMMER_PATH/installjammer
bash: MY_INSTALLJAMMER_PATH/installjammer: No such file or directory
測試:code
$MY_INSTALLJAMMER_PATH/installjammer
結果那貨本身給彈出來了!!!blog