Files Status----how to check it

 if i want to check a file's status,such like:when it was
excuated last time,who excuated it,etc. i know by using "
ls -l",i can see the most close time it was changed,but if
i want to see more info of this file (or Directory),how sh
ould i do & where the OS keep those info ??
wingboadAsked:
Who is Participating?
 
ahoffmannConnect With a Mentor Commented:
ls -l -i --time=access
0
 
ahoffmannCommented:
> last access time:
perl -e '@x=lstat("yourfile");print "access time=$x[8]\n";'

> who excuated
not possible i.g., just if there is special software (I don't know off some)

> where the OS keep those info
in the file (directory)'s i-node
0
 
wingboadAuthor Commented:
 but is there any command to check those info of files (di
rectory),and i know inode keep those info,how can i see it
,thanks.
0
 
wingboadAuthor Commented:
ok,thanks a lot,i will accept it
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.