ls – How to sort files by date…

How to display newer files at the bottom of the ls output in Linux or Mac: 

ls -latr

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

Leave a Reply

Your email address will not be published. Required fields are marked *

  +  80  =  81

Skynin cache:
Array ( [cache mode] => capture [requestKey] => 60183057ee446acbdf0528be243a078424.sc [skycache_disable_capture] => false )