Sort ls output by date ascending

December 29, 2009

How to display newer files at the bottom of the ls output on Solaris 10:

ls -latr

  • l
    Long list with more details
  • a
    Include hidden files
  • t
    Sort by date descending
  • r
    Reverse sort order
blog comments powered by Disqus

Previous post:

Next post: