Linux/RaspberryPi设置环境变量的几个地方:
/etc/profile
/etc/local
/etc/local.rc
/etc/bash.bashrc
/home/pi/.profile
查看环境变量:env
Linux/RaspberryPi设置环境变量的几个地方:
/etc/profile
/etc/local
/etc/local.rc
/etc/bash.bashrc
/home/pi/.profile
查看环境变量:env
转载于:https://my.oschina.net/u/2306127/blog/1561145