请教一个文件排序显示问题
一个目录下,有子目录有文件
我想显示这个目录下的所有文件
只显示文件但不显示子目录,并且把文件按时间进行排序
比如有目录dir1
下有子目录dir11 和目录dir12
dir11目录下有如下文件
-rwxr--r-- 1 root root 120207204 2008-11-27 18:03 test1
-rwxr--r-- 1 root root 29050568 2008-11-28 09:47 test2
-rwxr--r-- 1 root root 5854397 2008-11-27 15:40 test3
dir12目录有如下文件
-rwxr--r-- 1 root root 7237799 2008-11-27 17:18 test4
-rwxr--r-- 1 root root 1605481 2008-11-27 17:32 test5
我想要的最终结果是
-rwxr--r-- 1 root root 5854397 2008-11-27 15:40 test3
-rwxr--r-- 1 root root 7237799 2008-11-27 17:18 test4
-rwxr--r-- 1 root root 1605481 2008-11-27 17:32 test5
-rwxr--r-- 1 root root 120207204 2008-11-27 18:03 test1
-rwxr--r-- 1 root root 29050568 2008-11-28 09:47 test2
请问有什么命令能达到这种效果