linux ll:未找到命令

linux ll:未找到命令

data/rj/eclipse# ll
bash: ll:未找到命令

查看:vim ~/.bashrc,把#去掉,如果没有自己添加

# some more ls aliases
alias ll='ls -l'
alias la='ls -A'
alias l='ls -CF'

按 shift + ; 输入wq保存,然后输入source ~/.bashrc生效,输入bash全局生效

kong@k:~/data/rj/eclipse$ source ~/.bashrc
kong@k:~/data/rj/eclipse$ bash
kong@k:~/data/rj/eclipse$ ll
总用量 224
drwxr-xr-x 12 kong root   4096 5月   5 14:39 configuration
drwxr-xr-x  2 kong root   4096 5月   5 13:58 dropins
-rwxr-xr-x  1 kong root  61176 6月   4  2020 eclipse
-rw-r--r--  1 kong root    233 5月   5 14:44 eclipse.desktop

3个指令对比:

root@k:/data/rj/eclipse#  ls -l
总用量 224
drwxr-xr-x 12 kong root   4096 5月   5 14:39 configuration
drwxr-xr-x  2 kong root   4096 5月   5 13:58 dropins
-rwxr-xr-x  1 kong root  61176 6月   4  2020 eclipse
-rw-r--r--  1 kong root    233 5月   5 14:44 eclipse.desktop
-rw-r--r--  1 kong root    915 5月   5 13:58 eclipse.ini
-rwxr-xr-x  1 kong root 140566 6月   4  2020 icon.xpm
drwxr-xr-x  2 kong root   4096 5月   5 13:58 plugins
drwxr-xr-x  2 kong root   4096 5月   5 13:58 readme

root@k:/data/rj/eclipse#  ls
configuration  dropins  eclipse  eclipse.desktop  eclipse.ini  icon.xpm  plugins  readme

root@k:/data/rj/eclipse# ls -A
configuration  dropins  eclipse  eclipse.desktop  eclipse.ini  .eclipseproduct  icon.xpm  plugins  readme

root@k:/data/rj/eclipse# ls -CF
configuration/  dropins/  eclipse*  eclipse.desktop  eclipse.ini  icon.xpm*  plugins/  readme/
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值