打开这个文件
vim /root/.bashrc
加上一句:
if [ -f /etc/bashrc ]; then . /etc/bashrc fi
结果:
ubuntu root账号下ll 提示ll:未找到命令
原文:https://www.cnblogs.com/anhao-world/p/15029525.html