Can the "ls" command in Unix find thing based on file age? (-mtime)

LordJezo

Banned
May 16, 2001
8,140
1
0
Is this possible... I know you can do it with the "find" command but is it possible to list files in a directory based on system time?
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
-c can sort or print by the time the file's status was changed.
-t can sort or print by modified time.
-u can sort or print by last access time.

Of course, this could depend on the Unix, the ls command in use, and the AMOUNT OF TIME YOU SPEND LOOKING AT MAN PAGES! ;)