mac环境下创建bash_profile文件并写入内容

启动终端Terminal 进入当前用户的home目录 输入$ cd ~ 创建.bash_profile 输入$ touch .bash_profile 编辑.bash_profile文件 输入$ open .bash_profile 第一种方式 <1>、为在弹出的.bash_profile文件内进行编辑 <2>、编辑完成后直接保存文件 <3>、关闭.bash_profile文件 <4>、更新配置过
相关文章
相关标签/搜索