锐客网

2019-11-01|2019-11-01 环境变量有关

1

vi ~/.bashrc/

【2019-11-01|2019-11-01 环境变量有关】在最后加上
export PATH=路径/bin:$PATH

2
echo 'export PATH=路径/bin:$PATH' >> ~/.bashrc

source ~/.bashrc/