MAC环境变量操作

1、打开终端(terminal)。 2、用touch 命令创建一个文件,并用open 命令打开文件: $: touch ~/.bash_profile $: open -t ~/.bash_profile 或是命令行输入: open -e ~/.bash_profile  3、在文件里面填写环境变量eg: 图中的环境变量路径少了:/bin:/usr/X11R6/bin  好像是两个系统的默认的路径
相关文章
相关标签/搜索