?
Solved

Files Status----how to check it

Posted on 2001-07-22
4
Medium Priority
?
237 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 60 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

Create CentOS 7 Newton Packstack Running Keystone

A bug was filed against RDO for the installation of Keystone v3. This guide is designed to walk you through the configuration for using Keystone v3 with Packstack. You will accomplish this using various repos and the Answers file.

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…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Suggested Courses
Course of the Month7 days, 23 hours left to enroll

765 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