打开终端
进入用户目录
输入ls -all 查看文件夹下是否有.bash_profile文件
如果不存在,则需要创建该文件 :touch .bash_profile
打开bash_profile文件: open -e .bash_profile
版权声明:本文为ONLYYD原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。
打开终端
进入用户目录
输入ls -all 查看文件夹下是否有.bash_profile文件
如果不存在,则需要创建该文件 :touch .bash_profile
打开bash_profile文件: open -e .bash_profile