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
What is FC command?
Find command can search for files by
How do I check my cpu cores?
What does the ps command do in linux?
What is devops linux?
What is the symbol of linux?
What is ulimit in linux?
What is sudo bash command?
You read an article that lists the following command: dd if=/dev/fdo bs=512 of=/new what does this accomplish?
Suppose I lost a root password and I need to give it, I treid to change it through single usermode even though I am not get a password, then what is the otherprocedure to give a root password?
What is command to check ports running/used over local machine
What the command used for search file or files for specific text?
What are bash scripts used for?
What are two functions the move mv command can carry out?
Explain grep command.