1. cd ~ 进入home
2. touch .bash_profile 创建配置文件,如果之前有,此步忽略
3.open .bash_profile 打开文件,在export Path = ${Path} 中添加 “/usr/bin:/usr/sbin:/bin:/sbin:/usr/X11R6/bin”
4.保存文件:source .bash_profile
5.万事大吉
1. cd ~ 进入home
2. touch .bash_profile 创建配置文件,如果之前有,此步忽略
3.open .bash_profile 打开文件,在export Path = ${Path} 中添加 “/usr/bin:/usr/sbin:/bin:/sbin:/usr/X11R6/bin”
4.保存文件:source .bash_profile
5.万事大吉