Sudo Permission Denied 重定向语句没有root权限 解决方法: sudo sh -c "echo A > /etc/bashrc" 参考文献: https://blog.csdn.net/u013176681/article/details/77511134