I used \"touch\" on a file, updating the file\'s timestamp but the parent directory\'s timestamp did not change. However, (as expected) when I created a new file within the
You can use the stat command to find the modified time, creation time etc of a file/directory. Refer to https://linux.die.net/man/2/stat
The article states: st_mtime of a directory is changed by the creation or deletion of files in that directory. The st_mtime field is not changed for changes in owner, group, hard link count, or mode.