MAC環境變量操作

1、打開終端(terminal)。 2、用touch 命令創建一個文件,並用open 命令打開文件: $: touch ~/.bash_profile $: open -t ~/.bash_profile 或是命令行輸入: open -e ~/.bash_profile  3、在文件裏面填寫環境變量eg: 圖中的環境變量路徑少了:/bin:/usr/X11R6/bin  好像是兩個系統的默認的路徑
相關文章
相關標籤/搜索