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 used to lock user password in Linux?
What is du command in linux?
What is git command?
How remove all files in a directory linux?
How to activate / deploy licence in RHEL 6 and what will happen if you don't activate / deploy licence in RHEL 6 ?
The ‘logout’ built in command is used to
What are the basic commands in command prompt?
What is netstat command in linux?
How do I run a .sh file in linux?
How you will create new folder / directories and how to remove file and folder in linux?
What is makefile target?
What does bash stand for?
What is whois command?
What is makefile in unix?
How do I search bash history?