When was a file last opened

coreutilslstimestamps

How do I determine, when a file was last opened?

I've looked at man ls (using GNU coreutils 8.22) and I don't see anything about this timestamp.

Best Answer

You may want to check this:

ls -l --time=atime

atime — updated when file is read
mtime — updated when the file changes.
ctime — updated when the file or owner or permissions changes.

Have fun! :)

Related Question