Linux―各种重要配置文件详解

匿名 (未验证) 提交于 2019-12-02 21:56:30

一、/etc/profile文件详解(环境变量)

添加环境变量

1.profile文件中添加如下内容 export PATH=$PATH:/usr/local/man export PATH=$PATH:/usr/local/rabbitmq/sbin2.在profile文件中添加或修改的内容需要注销系统才能生效。同名的环境变量,后写入的起作用。或执行如下命令。 [root@localhost ~]# source /etc/profile参考:https://www.cnblogs.com/lh03061238/p/9952659.html参考:https://www.jianshu.com/p/1dd22f5b521a参考:https://blog.csdn.net/thebigdipperbdx/article/details/80862224

 

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!