添加path linux

来源:互联网 发布:比价系统源码 编辑:程序博客网 时间:2024/06/05 08:08
gedit /etc/profile
在最后,添加:
export PATH="/opt/bin:$PATH"
保存,退出,然后运行:
source /etc/profile
0 0
原创粉丝点击