linux下查看和添加PATH环境变量

# vim /etc/profile
在文档最后,添加:
export PATH="/opt/STM/STLinux-2.3/devkit/sh4/bin:$PATH"
保存,退出,然后运行:
#source /etc/profile

不报错则成功。

posted @ 2015-04-19 20:22  往日的雨幽  阅读(1963)  评论(0编辑  收藏  举报