添加环境变量的时候显示没有权限
echo “export PATH=”/usr/local/ARM-toolchain/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin/:$PATH"" >> /etc/profile
bash: /etc/profile: 权限不够
sudo chmod 777 /etc/profile
echo “export PATH=”/usr/local/ARM-toolchain/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin/:$PATH"" >> /etc/profile
source /etc/profile