修改~目录的bashrc文件:

1.cd 到~目录。

2.ls -a ,bashrc文件是隐藏的。

3.vim .bashrc;export PATH=$PAHT:要添加的工作路径。

4.source ~/.bashrc

05-11 13:04