Mtime

From Hackepedia
Revision as of 02:44, 28 October 2005 by Pbug (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Time of last modification of a file, the information is taken from the inode.

$ stat -s disk | tr ' ' '\n' | grep mtime
st_mtime=1130490970
$ date -r 1130490970
Fri Oct 28 11:16:10 CEST 2005
$ ls -lT disk
-rw-r--r--  1 root  wheel  33554432 Oct 28 11:16:10 2005 disk

If a file has been modified the mtime will change to that date.