How To Find The Oldest File In A Directory Tree In Linux

Find The Oldest File In A Directory Tree In Linux

3 Responses

  1. gocyclones says:

    ls -lt | tail -1 Oldest
    ls -ltr | tail -1 Newest

  2. Bro. Vin says:

    Will List 20 newest files>>> ls -ltr | tail 20
    Will List 20 oldest files>>> ls -ltr | head 20

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.