【轉】find -atime -ctime -mtime區別

msdnchina發表於2011-11-30
find -atime -ctime -mtime區別

find -atime -ctime -mtime區別




access time , atime在讀取檔案或執行檔案時會修改
create time , ctime在檔案寫入,更改所有者,許可權。連結時檔案的ctime會隨之改變
modified time ,mtime 在檔案寫入時會改變。

ls -lu 或者 ls -l --time=atime 顯示檔案的atime
ls -lc 或者 ls -l --time=ctime 顯示檔案的ctime
ls -l 顯示檔案的mtime[@more@]

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/161195/viewspace-1056636/,如需轉載,請註明出處,否則將追究法律責任。

相關文章