1. 首先是打开终端输入vim ~/.bash_profile后回车

 

2.按下“i”进入编辑模式,输入类似于下图所示的环境路径

 

3.完成之后,按下esc键,退出编辑模式

4.输入“:wq”后回车

5.最后输入 source ~/.bash_profile

 

显示mac中系统隐藏的文件命令为:defaults write com.apple.finder AppleShowAllFiles -bool true

 

隐藏系统隐藏的文件的命令为:defaults write com.apple.finder AppleShowAllFiles -bool false

posted on 2014-03-28 17:44  暖 暖  阅读(284)  评论(0编辑  收藏  举报