![]() confirm when the directory was updated – can suggest that temporary files were created and quickly deleted, so you don’t see the files but recognise evidence when they were still in the directory.quickly get the list of really old files (not updated for longer than 30 days or something like that).verify if a certain file was accessed and when – useful when debugging a script.find files modified in the last hour or day – very useful for finding most recently updated log files.confirm when was the last time a configuration file was changed.Lots of common system administration tasks can be helped, if not completed, using knowledge of atime, ctime and mtime attributed: INTERESTING: When a new file or directory is created, usually all three times – atime, ctime and mtime – are configured to capture the current time. ![]() It does not change with owner or permission changes, and is therefore used for tracking the actual changes to data of the file itself. Last modification time shows time of the last change to file’s contents. ctime will also get updated if the file contents got changed. noatime – no access time updates for anythingĬtime shows when your file or directory got metadata changes – typically that’s file ownership (username and/or group) and access permissions.nodiratime – no access time updates for directories (files still get atime updates).relatime (“relative atime”) – selective atime updates, usually if previous - atime is an older timestamp than ctime and mtime (see below). ![]()
0 Comments
Leave a Reply. |