两种方法:
1. export PATH=$PATH:/XXX
2. 编辑/etc/profile
(1)找到# Path manipulation,在pathmunge /usr/local/sbin后(另起一行)添加pathmunge xxx路径
(2)运行source /etc/profile
两种方法:
1. export PATH=$PATH:/XXX
2. 编辑/etc/profile
(1)找到# Path manipulation,在pathmunge /usr/local/sbin后(另起一行)添加pathmunge xxx路径
(2)运行source /etc/profile