linux不支持ll命令的方法

听风者~ / 2023-08-15 / 原文

$ ll

-bash: ll: command not found
没有ll这个命令。

 

一行搞定:

echo "alias ll='ls -l'" >> ~/.bashrc && source ~/.bashrc