- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- file creation time
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
Forums
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
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-09-2006 09:30 PM
02-09-2006 09:30 PM
file creation time
Is there any command to know when do a file is actually created (not modified)?
Thanks and regds
S.O
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2006 09:33 PM
02-09-2006 09:33 PM
Re: file creation time
See this:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=203044
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=832810
--
Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2006 09:36 PM
02-09-2006 09:36 PM
Re: file creation time
It is not possible to find out the creation time as UNIX doesn't provide anyways to do that.
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2006 02:32 AM
02-10-2006 02:32 AM
Re: file creation time
Not sure .. but looking # man ll is worth.
See the option -c !!!
Rgds / James
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2006 02:49 AM
02-10-2006 02:49 AM
Re: file creation time
The -c option just sorts on time of last modification.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2006 02:54 AM
02-10-2006 02:54 AM
Re: file creation time
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2006 03:00 AM
02-10-2006 03:00 AM
Re: file creation time
You have three timestamps held in file's inode.
The 'mtime' is the modification time. This only equals a creation time when the file is created. Thereafter, writes to the file change this value.
The 'atime' is the last access timestamp -- when a file was read or executed.
The 'ctime' is the last *change* of the inode. Changing a file's permissions, its ownership, its name, or modifying the 'mtime' and/or 'atime' with 'touch' alter the 'ctime'.
Using 'ls -l' reports the 'mtime.
Using 'ls -ul' reports the "use" time or 'atime'.
Using 'ls -cl' reports the "change" time or 'ctime'.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2006 08:09 PM
02-12-2006 08:09 PM
Re: file creation time
Really helping replies from all. Clossing the thread and points have been assigned to everyone.
thanks and regds
S.O