Originally Posted by anandg111
Is there any tool or command in linux to keep watch on directory.
root user should get the report of all the changes made with files in the dir.
What exactly do you mean with "keep watch" and "get the report"?
If you want to trigger a notification immediately
after the change, inotify is the tool to use (as already suggested).
If you want to keep track
of changes, version control systems such as git could be an option.
Whenever you review the status you can see exactly what changes were made since you checked last time. If you are ok with the changes, you can "save them" (referred to as committing them) which brings you to a clean status again... such that next time you check, again you'll see what changed in the meanwhile.
On the other hand, if something looks wrong, you can always revert to a previous stage...