cd root .bash_profile 这个是配置当前用户的环境变量 cd /etcprofile 这个是配置系统的环境变量 which xxx 查看命令的目录 source .bash_profile 让命令起作用 相关文章: 2022-12-23 2021-04-24 2021-12-04 2022-01-15 2021-06-14