View Last Time a File was Opened on Debian

Posted on October 2, 2018 at 10:29 pm

You can use “atime” to get last time a file or directory was opened:

ls -l --time=atime

To test it just try to “cat” a file:

cat /tmp/file.log

Then type:

ls -l --time=atime /tmp/file.log

Receive updates via email

Other Posts

Updated Posts