Unix Info File (Data Ultimo Accesso/Modifica/Cambio stato)

Per avere le informazioni dettagliate su un file Unix, si può utilizzare il comando stat .

es:
[root@srv1 test]# stat file1.txt
  File: `file1.txt'
  Size: 754             Blocks: 8          IO Block: 4096   regular file
Device: 806h/2054d      Inode: 426110      Links: 1
Access: (0644/-rw-r--r--)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2013-01-20 08:45:37.000000000 +0100
Modify: 2009-02-12 10:45:31.000000000 +0100
Change: 2009-02-12 10:45:31.000000000 +0100
[root@srv1 test]#

Per maggiori informazioni:
http://unix.stackexchange.com/questions/24441/get-file-created-creation-time
http://linux.die.net/man/2/stat

This entry was posted in Operating Systems, Unix Linux. Bookmark the permalink.