Solved

Files Status----how to check it

Posted on 2001-07-22
4
234 Views
Last Modified: 2010-05-19
 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 ??
0
Comment
Question by:wingboad
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 51

Expert Comment

by:ahoffmann
ID: 6308601
> 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
 

Author Comment

by:wingboad
ID: 6310742
 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
 
LVL 51

Accepted Solution

by:
ahoffmann earned 20 total points
ID: 6311380
ls -l -i --time=access
0
 

Author Comment

by:wingboad
ID: 6315637
ok,thanks a lot,i will accept it
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question