How to Find Recent or Today’s Modified Files in Linux

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Use our Hosting referral link if you planning to start your blog ($3.82/month).
  4. Become a Supporter - Make a contribution via PayPal
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Aaron Kili

Aaron Kili is a Linux and F.O.S.S enthusiast, an upcoming Linux SysAdmin, web developer, and currently a content creator for TecMint who loves working with computers and strongly believes in sharing knowledge.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

4 Responses

  1. Jordi Rubalcaba says:

    I ran some samples using: ls -al –time-style=+%D | grep ‘date +%D’
    but didn’t work for me.

    find seems to work a little better. see below

    [adm.rubalcj@RHEL7.3-RSAT-DCE01 home]$ find . -maxdepth 1 -newermt “2016-12-06”
    .
    ./DOMAIN
    ./python.py
    [adm.rubalcj@RHEL7.3-RSAT-DCE01 home]$ find . -maxdepth 1 -newermt “2016-12-07”
    .
    ./python.py

    • Aaron Kili says:

      @Jordi

      Both methods should work just fine, try to check the first command ls -al – – time-style=+%D | grep ‘date +%D’ and ensure that the spacing between the individual characters options is correct.

      However, you can always choose the method that works for you and above all, many thanks for the feedback.

    • ROMSAT says:

      Hi Jordi, you have to use the grave accent ( ` ) like this: grep `date +%D`
      Saludos from Nerja (Spain)
      Romu.

Got something to say? Join the discussion.

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

Join Over 300K+ Linux Users
  1. 257,757
  2. 11,967
  3. 39,682

Are you subscribed?