Ask Your Question

Where can I find how long ago specific files, folders, and commands were updated?

asked 2016-06-04 18:19:43 -0500

For instance, chroot. Is there a database somewhere where I can find exactly when everything was updated?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2016-06-04 21:19:13 -0500

sideburns gravatar image

Welcome to ask.fedora. The command ls -l $FILENAME will tell you the last time a file was modified. Using chroot as an example, the command ls -l /usr/sbin/chroot would either tell you when the program was updated or, if it's never been updated, when the file was installed. Or, of course, you can always find the executable in your file manager, right-click and examine the properties, which is probably the easiest way to get the modification date for a folder.

edit flag offensive delete link more

Question Tools


Asked: 2016-06-04 18:19:43 -0500

Seen: 39 times

Last updated: Jun 04 '16