I know ls -l will give the modified time of file, but it is giving the time when the file was opened, not closed (using Ctrl+D or something)Please tell me how to find the time of file closed[BASH]$dateWed May  7 10:33:01 EEST 2014[BASH]$cat >aaadfadsf#waited 8 mins before closing file (time of closing: 10:41)[BASH]$ls -l aa-rw-------    1 orclschd staff             9 May  7 10:33 aa[BASH]$dateWed May  7 10:41:47 EEST 2014[BASH]$stat aabash: stat: command not found[BASH]$unameAIX Here I have created a file named aa, The file was created at 10:33 but when I closed the file and I checked the file's modified date it still showed 10:33.But the file creation end date (closed time) is 10:41 .Is there is any command in AIX to find when the file is closed or can we write any bash script to track the file automatically?
Find when the file was closed in Unix
files;aix;file metadata