shell 中直接修改
当前进场有效(退出后失效)
export PATH=$PATH:software/bin
修改用户级
在home/用户/.profile中添加,然后 source home/用户/.profile
修改系统级
vi /etc/profile 添加,然后 source /etc/profile
本文来源:程序之心,转载请注明出处!
本文地址:https://chengxuzhixin.com/blog/article/300448.html
新文推荐
© 2016 - 2022 chengxuzhixin.com All Rights Reserved.
浙ICP备2021034854号-1 浙公网安备 33011002016107号