码迷,mamicode.com
首页 > 系统相关 > 详细

Mac 使用.bash_profile

时间:2018-08-27 14:13:45      阅读:207      评论:0      收藏:0      [点我收藏+]

标签:ash   内容   mina   pen   and   man   保存文件   command   文件内容   

1、打开terminal(终端)

2、open .bash_profile (打开.bash_profile文件,如果文件不存在就  创建文件:touch .bash_profile  编辑文件:open -e bash_profile)

3、直接更改弹出的.bash_profile文件内容

4、command + s 保存文件,然后关闭

5、在terminal(终端)中输入 source .bash_profile (使用刚才更新之后的内容)

 

Mac 使用.bash_profile

标签:ash   内容   mina   pen   and   man   保存文件   command   文件内容   

原文地址:https://www.cnblogs.com/molisa/p/9541531.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!