show last new file added using "ls"

Joel C. Salomon joelcsalomon at gmail.com
Mon Jan 21 01:00:41 UTC 2008


On Jan 20, 2008 7:25 PM, Wade Smart <wadesmart at gmail.com> wrote:
> Is there a way when using  "ls" to show the time and date of a file?

$ man ls
...
 -c     with -lt: sort by, and show, ctime (time of last modification
of file status information) with -l:show ctime and sort by name
otherwise: sort by ctime
...

So you probably want some combination of -c, -l, -t, &c.

--Joel




More information about the ubuntu-users mailing list