FreeKB - Linux Commands stat (atime mtime ctime)
Linux Commands - stat (atime mtime ctime)

The stat command can be used to display the time a file was last accessed (atime), last modified (mtime) and last changed (ctime).

stat foo.txt
. . .
  File: ‘foo.txt’
  Size: 7940168         Blocks: 15520      IO Block: 4096   regular file
Device: fd04h/64772d    Inode: 105729      Links: 1
Access: (0664/-rw-rw-r--)  Uid: (  409/ webproc)   Gid: ( 2001/websuppt)
Context: system_u:object_r:usr_t:s0
Access: 2020-03-31 22:44:47.895474745 -0500
Modify: 2020-03-31 22:43:17.434452999 -0500
Change: 2020-03-31 22:43:17.434452999 -0500
 Birth: -

 



Add a Comment




We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.




Please enter c7853 in the box below so that we can be sure you are a human.




Comments

Web design by yours truely - me, myself, and I   |   jeremy.canfield@freekb.net   |