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
Which command is used to find what is in your home directory?
How use more command in linux?
Which Command used to lock user password in Linux?
Suppose you try to delete a file using the rm command and the deletion fails. What could be the possible reason?
Who am I command in linux?
What command used for showing user info like Login Name, Canonical Name, Home Directory,Shell etc in Linux?
What is file and example?
How do I clear bash history in linux?
Which of the Commands delete the files from the /tmp directory, issued by non-root user?
What is the fastest way to enter a series of commands from the command-line?
What is command example?
What are runlevels in linux?
What command do you type to find help about the command who?
How do I change directories in linux command line?
What is clang tidy?