ll -rt: 按照文件的更新顺序从小要大排序,即最新的文件在最下面
[root@aliyun var]# ll -rt total 68 drwxr-xr-x. 2 root root 4096 Nov 5 2016 yp drwxr-xr-x. 2 root root 4096 Nov 5 2016 preserve drwxr-xr-x. 2 root root 4096 Nov 5 2016 opt drwxr-xr-x. 2 root root 4096 Nov 5 2016 nis drwxr-xr-x. 2 root root 4096 Nov 5 2016 local drwxr-xr-x. 2 root root 4096 Nov 5 2016 gopher drwxr-xr-x. 2 root root 4096 Nov 5 2016 games drwxr-xr-x. 2 root root 4096 Nov 5 2016 adm drwxr-xr-x. 2 root root 4096 Nov 7 2016 crash drwxr-xr-x. 3 root root 4096 Dec 7 2016 kerberos lrwxrwxrwx. 1 root root 6 Aug 18 2017 run -> ../run lrwxrwxrwx. 1 root root 11 Aug 18 2017 lock -> ../run/lock lrwxrwxrwx. 1 root root 10 Aug 18 2017 mail -> spool/mail drwxr-xr-x. 3 root root 4096 Aug 18 2017 empty drwxr-xr-x. 5 root root 4096 Aug 18 2017 cache drwxr-xr-x. 9 root root 4096 Aug 18 2017 spool drwxr-xr-x. 4 root root 4096 Aug 18 2017 db drwxr-xr-x. 28 root root 4096 Oct 25 23:32 lib drwxrwxrwt. 3 root root 4096 Oct 25 23:32 tmp drwxr-xr-x. 13 root root 4096 Nov 11 03:34 log
ll -h: 查看文件的详细信息(显示文件大小)
[root@aliyun var]# ll -h total 68K drwxr-xr-x. 2 root root 4.0K Nov 5 2016 yp drwxr-xr-x. 2 root root 4.0K Nov 5 2016 preserve drwxr-xr-x. 2 root root 4.0K Nov 5 2016 opt drwxr-xr-x. 2 root root 4.0K Nov 5 2016 nis drwxr-xr-x. 2 root root 4.0K Nov 5 2016 local drwxr-xr-x. 2 root root 4.0K Nov 5 2016 gopher drwxr-xr-x. 2 root root 4.0K Nov 5 2016 games drwxr-xr-x. 2 root root 4.0K Nov 5 2016 adm drwxr-xr-x. 2 root root 4.0K Nov 7 2016 crash drwxr-xr-x. 3 root root 4.0K Dec 7 2016 kerberos lrwxrwxrwx. 1 root root 6 Aug 18 2017 run -> ../run lrwxrwxrwx. 1 root root 11 Aug 18 2017 lock -> ../run/lock lrwxrwxrwx. 1 root root 10 Aug 18 2017 mail -> spool/mail drwxr-xr-x. 3 root root 4.0K Aug 18 2017 empty drwxr-xr-x. 5 root root 4.0K Aug 18 2017 cache drwxr-xr-x. 9 root root 4.0K Aug 18 2017 spool drwxr-xr-x. 4 root root 4.0K Aug 18 2017 db drwxr-xr-x. 28 root root 4.0K Oct 25 23:32 lib drwxrwxrwt. 3 root root 4.0K Oct 25 23:32 tmp drwxr-xr-x. 13 root root 4.0K Nov 11 03:34 log