Deprecated: Optional parameter $keys declared before required parameter $cms_id is implicitly treated as a required parameter in /home/www/dev/work/class/blog/CmsKey.php on line 75

Deprecated: Creation of dynamic property lvesu\lvesu\controller\blog\main::$outlink is deprecated in /home/www/dev/work/website/lvesu/template/blog/cms/cms.tpl on line 2

Deprecated: Creation of dynamic property lvesu\lvesu\controller\blog\main::$status is deprecated in /home/www/dev/work/website/lvesu/template/blog/index.head.php on line 2
-bash: ll: 未找到命令 - 互联网笔记

略微加速

略速 - 互联网笔记

-bash: ll: 未找到命令

2021-06-08 leiting (2695阅读)

标签 Linux

问题:常用命令“ll”失效,如图所示



原因:

"ll"命令不是linux的基本命令,它是"ls -l"的别名,部分版本并不直接支持“ll”命令输出。


解决方法:

运行

vi ~/.bashrc

查看该文件里是否有

alias ll='ls -l'

这样的数据,如有,将数据前的“#”去掉,如果没有,将

alias ll='ls -l'

加进去并保存,然后运行

source ~/.bashrc

命令,即可成功。如下图:




北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3