在终端仿真器中填写
export PATH=$PATH:‘/bin‘
//注意后面新加的路径有引号
在.profile中添加
PATH="$PATH:/bin"
#全部写入引号内
Linux环境变量
原文:http://www.cnblogs.com/seeyoung/p/6848002.html