Solved

Files Status----how to check it

Posted on 2001-07-22
4
227 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
  • 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
linux 2 110
Linux : when to add the entries in /etc/hosts file 22 104
linux service nerwork restart throwing eth1 not dound? 5 90
Setup static routes for IP address in CentOS 2 68
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…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

733 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