LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-23-2007, 01:50 AM   #1
cjagdish69
Member
 
Registered: Oct 2003
Location: Bombay,Maharashtra,India
Posts: 60

Rep: Reputation: 15
Question File Creation date & time in Red Hat


I have created a file somewhat in 2005. Now i want the exact date and time of creation of that file. How can I get the same ?

I tried the "stat" command but it gives me only the access,change & modified date & time.

regards
 
Old 04-23-2007, 02:23 AM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Searching from Google, I stumbled across this (copied the "interesting" part of it, found below):

http://www.lugod.org/mailinglists/ar.../msg00013.html

Quote:
ext2, ext3 and reiser don't keep track of a file's creation time. what
people call "creation time" is (as you point out) something completely
different.

a better name for "creation time" is "the last time at which the inode
was modified". so rather than keeping track of when the file was
created, it keeps track of things like:

* last date the file was mv'd
* last date a file's attr was changed
* last date the file's perms were changed
* last date the file's ownership or grownership was changed

stuff like that.

sorry to say, if you want to keep track of a file's original creation
date, you'll need to keep track of that yourself.

Last edited by b0uncer; 04-23-2007 at 02:30 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
i want to know the command which show the date of creation of file abhi_singh4 Red Hat 6 09-16-2011 01:02 AM
File Creation Date in linux jayukanna General 5 08-21-2006 08:08 AM
ls -al file creation date blackzone Linux - Newbie 2 08-23-2004 02:31 AM
creation date of file using the 'ls' command robt Linux - Newbie 1 03-27-2003 01:34 AM
red hat 8 and date,time ronss Linux - Distributions 2 12-04-2002 02:20 AM


All times are GMT -5. The time now is 01:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration