0

Hi all,

I have a simple question as it appears.
But am unable to get the solution.

Question is -how do I get the access time of a file in unix. please advise on the command.

Thanks

3
Contributors
4
Replies
5
Views
8 Years
Discussion Span
Last Post by Aia
0

At least on Solaris "-u" is the option. For any other system you are going to have to man ls and actually read it to find out if any of the options have anything to do with access time and then actually try that option (and try it in combo with "-l", maybe).

0

Hi all,

I have a simple question as it appears.
But am unable to get the solution.

Question is -how do I get the access time of a file in unix. please advise on the command.

Thanks

stat might give you what you want.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.