Macbook 没有 .bash_profile 文件处理方法
启动终端Terminal
进入当前用户的home目录:输入cd ~
创建.bash_profile : 输入touch .bash_profile
编辑.bash_profile文件:输入open -e .bash_profile
输入你需要添加的内容:(例如)alias ll=’ls -alf’
保存,退出
更新配置: source ~/.bash_profile
...
原创
2018-08-06 15:27:17 ·
17684 阅读 ·
1 评论