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 (使用刚才更新之后的内容)
设为首页 加入收藏 |
|
当前位置: |
TOP | ||||||||||
Mac 使用.bash_profile
|
||||||||||
最新文章 |
热门文章 |
Hot 文章 |
Python | ||||||||||
|
||||||||||
C 语言 | ||||||||||
|
||||||||||
C++基础 | ||||||||||
|
||||||||||
大数据基础 | ||||||||||
|
||||||||||
linux编程基础 | ||||||||||
|
||||||||||
C/C++面试题目 | ||||||||||
|
||||||||||