Re: ls -lrt reversal

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Wed, Jun 09, 2010 at 03:06:30PM +0000, Michael D. Berger wrote:

>    ls -lrt *

> Is the precision of this only to the second?

Yes.  File timestamps are reported by the stat() call as time_t values,
which are "seconds past 00:00:00 1/1/1970".  So "ls" can only sort to
a 1 second precision.

-- 

rgds
Stephen
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux