- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- How to see a files create time , access time and m...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2012 08:05 AM
02-24-2012 08:05 AM
Hi All,
How to see a files create time, access time and modification time?
What does access time and modification time mean?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2012 09:13 AM - edited 11-22-2014 05:30 PM
02-24-2012 09:13 AM - edited 11-22-2014 05:30 PM
Re: How to see a file's create time, access time and modification time
>How to see a file's create time, access time and modification time?
Unix and Linux don't track creation time.
You can see the latter two with "ls -lu" and "ls -l".
>What does access time and modification time mean?
Modification means what you expect, the file was modified.
Access means the file was ether read or written.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2012 08:05 AM
02-25-2012 08:05 AM
SolutionHave a look at the fstat man page. There are three time fields st_atime, st_mtime and st_ctime: time of last access, last modification and last status change. None of these holds the creation time/date.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2014 10:46 PM
11-19-2014 10:46 PM
Re: How to see a file's create time, access time and modification time
Hi All,
We can see using "stat" command.
stat filename
it will show the requested things
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2014 05:31 PM
11-22-2014 05:31 PM
Re: How to see a file's create time, access time and modification time
>it will show the requested things
Except for creation time.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2014 01:57 AM
11-25-2014 01:57 AM
Re: How to see a file's create time, access time and modification time
# stat /etc/passwd
File: `/etc/passwd'
Size: 7623 Blocks: 16 IO Block: 4096 regular file
Device: fd00h/64768d Inode: 314330 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2014-11-25 12:55:42.000000000 +0300
Modify: 2014-10-24 07:27:51.000000000 +0300
Change: 2014-10-24 07:27:51.000000000 +0300
Ajin.S
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.