in redhat Linux wat is the command to check at ahich date
and time file was created?
Answer Posted / l praveen kumar
Shells and utilities like ls and date generally try to
conform to a set of standards - POSIX.
The standard says that three filetimes are recorded - access
time, modification time, and inode change time - atime,
mtime, ctime. It also says these three are the only
filetimes that will be shown for a file.
If you find a filesystem that supports a fourth filetime,
creation time, it is actually an oddity, and most everything
out there will not be able to support it.
In fact, date -r <filename> shows mtime, according to the
man page. stat does the same - only shows file modification
time. And these are GNU extensions, available on with GNU
utilities, and by default, on linux boxes. "Regular" unix
distributions do not have stat and the -r option for date.
The short answer is: there are no file creation times in
UNIX. It is a windows thing.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
can any one send me one project on linux ...?
What are runlevels in linux?
What is the difference between cd and cd in linux?
What is mkdir p?
What does execute mean in linux?
Why bash is used in linux?
How can we increase disk read performance in single command in Linux?
How can I type in cmd?
What is tail command in linux?
Suppose you try to delete a file using the rm command and the deletion fails. What could be the possible reason?
Which of the Commands delete the files from the /tmp directory, issued by non-root user?
Which command is used to delete a group?
Why ms dos is used?
What is the syntax of mkdir?
Is cmake only for c++?