[CentOS] ls -lrt reversal

Stephen Harris lists at spuddy.org
Wed Jun 9 15:22:13 UTC 2010


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



More information about the CentOS mailing list