1、打開terminal(終端) 2、cd ~ ( 進入當前用戶的home目錄) 3、open .bash_profile (打開.bash_profile文件,如果文件不存在就 創建文件:touch .bash_profile 編輯文件:open -e bash_profile ...
touch .bash profile 將目錄跳轉到.bash profile這個文件夾 open t .bash profile 打開.bash profile文件 這時候會彈出一個新的窗口輸入 export PATH PATH: Users XXXXX Applications apache tomcat . . bin 保存 也有的寫: 打開terminal 終端 cd 進入當前用戶的hom ...
2018-07-05 11:57 0 1156 推薦指數:
1、打開terminal(終端) 2、cd ~ ( 進入當前用戶的home目錄) 3、open .bash_profile (打開.bash_profile文件,如果文件不存在就 創建文件:touch .bash_profile 編輯文件:open -e bash_profile ...
參考:http://mirrors.ustc.edu.cn/help/homebrew-bottles.html 或者: 1、創建 .bash_profile 2、查看 、編輯 .bash_profile 文件 3、更新剛配置的環境變量 ...
1. 啟動終端Terminal 2. 進入當前用戶的home目錄 輸入cd ~ 3. 創建.bash_profile 輸入touch .bash_profile 4. 編輯.bash_profile文件 輸入open .bash_profile ...
你也可以在 .zshrc 文件中加一行 source .bash_profile 解決需要 source 才能使用的問題 ...
exec bash --login ...
1. 啟動終端Terminal 2. 進入當前用戶的home目錄 輸入cd ~ 3. 創建.bash_profile 輸入touch .bash_profile 4. 編輯.bash_profile文件 輸入open -e .bash_profile ...
轉自:http://www.ahlinux.com/shell/20239.html 0x01 /etc/profile:此文件為系統的每個用戶設置環境信息,當用戶第一次登錄時,該文件被執行,並從/etc/profile.d目錄的配置文件中收集shell的設置; /etc ...
. ~/.bash_profile:每個用戶都可使用該文件輸入專用於自己使用的shell信息,當用戶登錄時,該 ...