linux 环境变量

首先,编辑 /etc/profile 文件

vim /etc/profile

然后在文件内加入路径

exprot PATH="路径名称"

最后加载文件使其生效

source /etc/profile

 

posted @ 2018-07-14 00:05  铜锣湾扛把子·66  阅读(124)  评论(0)    收藏  举报