Need some hints on embedding my LFS

Brandon Peirce brandon_peirce at
Tue Aug 22 06:26:19 PDT 2006

Andrea Reina wrote:
> > How do I get a list of all access-times of all the files sorted in
> > reverse order by date? That would really really help a lot, right!
> >
>Lessee.... I'm away from my linux box right now, so I can't give a
>command to type out, but if you did an 'ls -lu' giving the absolute
>paths of all the files on you system ('find / -type f' is one way), then
>piped the output to the 'sort' command, giving it the right parameters
>for field and ascending/descending etc, that should get you pretty close

No need to pipe through sort, just use -t option to ls. Something like
find / -type f |xargs ls -lurt
should do the trick. Remove the 'r' option to ls if the reversal is not what 
you want.


More information about the lfs-chat mailing list