Searching file and folder
Greetings,
I have requirement where i have to track the files and folder in linux servers what are changes happened from last one year. Please let me know if any command syntax or script |
The find command can probably be used.
Code:
# find between today and 365 days |
You can refer to systen logs under /var/log/ directory and then various types of logs files available for any changes made to the server, or if any other incidents/errors occured.
On the other hand, you could simply use find command to seach for files in whole server, which have been modified in last one year, as follow: Code:
find / -mtime -365 -exec ls -la {} \; Read: http://unixhelp.ed.ac.uk/CGI/man-cgi?find |
All times are GMT -5. The time now is 05:02 PM. |