By using ls command with -al option we can get creation_date of the file
By using ls command with -ul option we can get last_access_date of the file.
Is and possibility to find out the last process name who access that file ?
ls -al will actually tell you the last modification date (which may have been the time of creation). ls -cl might tell you the creation date, or the last time the file's permissions were modified.
It isn't possible to find out the last process that accessed the file (unless you're using some fancy kind of system accounting perhaps?). You can only tell while the file is still open by using something like fuser.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.