35 Practical Examples of Linux Find Command

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 Linode referral link if you plan to buy VPS (it starts at only $10/month).
  4. Support us via PayPal donate - Make a Donation
  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.

Ravi Saive

I am Ravi Saive, creator of TecMint. A Computer Geek and Linux Guru who loves to share tricks and tips on Internet. Most Of My Servers runs on Open Source Platform called Linux. Follow Me: Twitter, Facebook and Google+

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...

106 Responses

  1. srujan says:

    26.Find Last 50 Days Modified Files

    To find all the files which are modified 50 days back.

    # find / -mtime 50

    i think it should be -50 for last 50 days
    exact 50 days it should be 50

  2. Axel says:

    What is the difference between “Changed” (29) and “Modified” (30)?

    • Ravi Saive says:


      29. The command find / -cmin -60 will list the files status was last changed x minutes ago and,

      30. The command find / -mmin -60 will list files data or content was last modified x minutes ago.

  3. Axel says:

    There’s a typo in:

    “19. Find all Empty Files
    To file all empty files under certain path.”

    “To file” -> “To find”

  4. Ramachandra says:

    Dear Sir,

    I want to search the hidden files for a particular duration of time.
    Ex..I need to search and list all the hidden files for the period Jan-10-2016 to Oct-10-2016.
    Please advise how to use the find command to search the above request.

  5. Khushal Bisht says:

    Can any one help me for using find command I want remove .xml or .jasons all files but I can’t find any command. For example, I have directory /dev and with in sub directory’s and in sub directories I have may files but I want delete only .xml or .jasons files only.

    If any command to use one time delete files Recursively

Got something to say? Join the discussion.

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

Join Over 300K+ Linux Users
  1. 202,035
  2. 9,267
  3. 38,621

Are you subscribed?