1831555 Members
3777 Online
110025 Solutions
New Discussion

Re: file access time

 
SOLVED
Go to solution
John McWilliams
Advisor

file access time

Hello all,
What is the best way to find the last access time a on unix file .

Thanks, John
4 REPLIES 4
James A. Donovan
Honored Contributor
Solution

Re: file access time

Use 'ls -u'
Remember, wherever you go, there you are...
Bruce Regittko_1
Esteemed Contributor

Re: file access time

Hi,

Use

ls -tu

to sort by access time and

ls -lu

to view access times.

--Bruce
www.stratech.com/training
Bill McNAMARA_1
Honored Contributor

Re: file access time

to find files that haven't been accesed
in the last 7 days.
# find / -atime +7

Later,
Bill
It works for me (tm)
Satish Y
Trusted Contributor

Re: file access time

ls -ul
Difference between good and the best is only a little effort