Aix find file changes




















Thanks in Advance. Join Date: Dec The absolute way to know is to configure auditing. You might be able to examine at the file ctime change time and correlate that timestamp to the lastlog, wtmp, etc..

I would provide example commands but you don't mention which UNIX variant your using. It varies by system. Join Date: Feb Not really. You have to have already turned on auditd before the problem. Read up on auditing, turn it on today, and then you can answer these kinds of questions in the future. Am using HP-UX but as of now we have not configured auditing is there any other ways to find out the solution?

Frank gave you a way to guess. Guess means just that - take a stab based on circumstantial evidence. Step 1: Code :. Code :. Last edited by jim mcnamara; at AM.. Thanks for your quick reply. And yes i will enable auditing from now on. I will try to find out now as you suggested hope so i will get some good results out of it. Please keep in mind that all comments are moderated and your email address will NOT be published. Save my name, email, and website in this browser for the next time I comment.

Notify me of followup comments via e-mail. You can also subscribe without commenting. This site uses Akismet to reduce spam. Learn how your comment data is processed. If you liked this article, then do subscribe to email alerts for Linux tutorials. If you have any questions or doubts? To match all files modified more than 7 days ago and accessed more than 30 days ago, use:. You may specify "not" with an exclamation point. To match all files ending in.

You can specify the following actions for the list of files that the find command locates:. For example, for a long listing of each file found, use:. For more, consult the Unix manual page by entering at the Unix prompt:. Join Date: Mar How do we track the modification history on a file in UNIX.

IS there any command or any script that we could run. Many Thanks. Join Date: Nov Example with stat : Quote:. The question could also be interpreted to mean what was changed, not just when. Basically the solution to that is revision control. The inode changed there so you really have a new file there, under the hood. Some editors work like that, for various reasons. For tracking system-wide when a named file has changed, with history, you need to install some additional software which monitors the file system for you; the desired functionality is not available by default.

If you are on a HAL system try man hald then I think it may offer something like this, possibly as an add-on. What is on Your Mind? Shell Programming and Scripting. History file in UNIX. History to Another file [local user history , but root access].



0コメント

  • 1000 / 1000