Results 1 to 3 of 3
  1. #1

    Cool recently created/modified files

    Hi everyone,

    As part of a security measure I would like to know where I can get a list of all the recently created or modified files on my server.

    I found the following command:

    The following command lists all files that were created in the past two weeks:

    root> find . -mtime -14 -print

    However this seems to check only in the directory that I am currently in. Is there a way to make the above command apply to the whole server?

    Thanks very much I appreciate the help!

    Mark

  2. #2
    Join Date
    Jan 2005
    Location
    Scotland, UK
    Posts
    2,681
    Adjust . too the path you wish too check.

    IE

    find /home -mtime -14 -print
    Server Management - AdminGeekZ.com
    Infrastructure Management, Web Application Performance, mySQL DBA. System Automation.
    WordPress/Magento Performance, Apache to Nginx Conversion, Varnish Implimentation, DDoS Protection, Custom Nginx Modules
    Check our wordpress varnish plugin. Contact us for quote: sales@admingeekz.com

  3. #3
    Your post certainly helped. I typed in this command in order to get information from the whole server for the last 24 hours and saved it to a file for easy viewing:

    find / -mtime -1 > file1.txt

    thanks for your help!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •