网站介绍:文章浏览阅读324次。Linux的环境变量可在多个文件中配置,如/etc/profile,/etc/profile.d/*.sh,~/.bashrc,~/.bash_profile等,下面说明上述几个文件之间的关系和区别。bash的运行模式可分为loginshell和non-login shell。例如,通过终端,输入用户名、密码,登录系统之后,得到就是一个loginshell,而当我们执行以下命令sshhadoop103 command,在hadoop103执行co..._profile.d/sh.loca
- 链接地址:https://blog.csdn.net/lslslslslss/article/details/122475653
- 链接标题:linux环境变量_profile.d/sh.loca-CSDN博客
- 所属网站:blog.csdn.net
- 被收藏次数:884
- 网站标签:profile.d/sh.loca