ls -l 等同于ll
默认显示
[root@localhost ~]# ll
总用量 112
-rw-r--r-- 1 root root 4 11月 3 15:18 1.txt
-rw-r--r-- 1 root root 4 11月 3 15:19 2.txt
-rw-r--r-- 1 root root 8 11月 3 15:20 3.txt
-rw-------. 1 root root 1399 10月 24 14:33 anaconda-ks.cfg
-rw-r--r--. 1 root root 34763 10月 17 11:27 install.sh
-rw-r--r--. 1 root root 3423 10月 30 17:01 OneShellScript.sh
-rw-r--r-- 1 wj wheel 53551 2月 16 2022 package.xml
#按照时间排序 最新的在最前
[root@localhost ~]# ll -t
总用量 112
-rw-r--r-- 1 root root 8 11月 3 15:20 3.txt
-rw-r--r-- 1 root root 4 11月 3 15:19 2.txt
-rw-r--r-- 1 root root 4 11月 3 15:18 1.txt
-rw-r--r--. 1 root root 3423 10月 30 17:01 OneShellScript.sh
-rw-------. 1 root root 1399 10月 24 14:33 anaconda-ks.cfg
-rw-r--r--. 1 root root 34763 10月 17 11:27 install.sh
-rw-r--r-- 1 wj wheel 53551 2月 16 2022 package.xml
#按照时间排序,最旧的在前面 等同于ll -tr
[root@localhost ~]# ll -t | tac
-rw-r--r-- 1 wj wheel 53551 2月 16 2022 package.xml
-rw-r--r--. 1 root root 34763 10月 17 11:27 install.sh
-rw-------. 1 root root 1399 10月 24 14:33 anaconda-ks.cfg
-rw-r--r--. 1 root root 3423 10月 30 17:01 OneShellScript.sh
-rw-r--r-- 1 root root 4 11月 3 15:18 1.txt
-rw-r--r-- 1 root root 4 11月 3 15:19 2.txt
-rw-r--r-- 1 root root 8 11月 3 15:20 3.txt
© 版权声明
文章版权归作者所有,未经允许请勿转载。
THE END
暂无评论内容