in redhat Linux wat is the command to check at ahich date
and time file was created?

Answers were Sorted based on User's Feedback



in redhat Linux wat is the command to check at ahich date and time file was created?..

Answer / kullayappa

"ls -l" or "ll" gives you detail information of files and
directories

Is This Answer Correct ?    36 Yes 7 No

in redhat Linux wat is the command to check at ahich date and time file was created?..

Answer / virendra wadel

#stat filename
File: `filename'
Size: 135014 Blocks: 272 IO Block: 4096
regular file
Device: fd00h/64768d Inode: 394281 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: (
0/ root)
Access: 2010-05-22 10:18:01.000000000 +0530
Modify: 2010-05-22 10:18:01.000000000 +0530
Change: 2010-05-22 10:18:01.000000000 +0530


shows all the attributes for a file, limited to linux only

Is This Answer Correct ?    28 Yes 3 No

in redhat Linux wat is the command to check at ahich date and time file was created?..

Answer / kumar

ls -l is display log list of the files and directory there
we can check date and time

Is This Answer Correct ?    25 Yes 13 No

in redhat Linux wat is the command to check at ahich date and time file was created?..

Answer / raguraman sify tech chennai

Linux file systems don't store the creation date and also
stat command reveal only Access Modify Change details

Is This Answer Correct ?    5 Yes 0 No

in redhat Linux wat is the command to check at ahich date and time file was created?..

Answer / gupta

#stat <path of file >
IT WILL GIVE FULL INFORMATION OF FILE

Is This Answer Correct ?    7 Yes 3 No

in redhat Linux wat is the command to check at ahich date and time file was created?..

Answer / sampath

i thnk ls -l or ll command will give the last modified date
and time, but not the date when it was created

Is This Answer Correct ?    7 Yes 6 No

in redhat Linux wat is the command to check at ahich date and time file was created?..

Answer / sudhir

"ls -l" gives all the information of a file including date
and time it was created.

Is This Answer Correct ?    7 Yes 6 No

in redhat Linux wat is the command to check at ahich date and time file was created?..

Answer / 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

in redhat Linux wat is the command to check at ahich date and time file was created?..

Answer / chet ram

[root@station20 ~]# stat chetan
File: `chetan'
Size: 0 Blocks: 0 IO Block: 4096
regular empty file
Device: 802h/2050d Inode: 3699184 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: (
0/ root)
Access: 2010-09-28 06:35:13.000000000 +0600
Modify: 2010-09-28 06:35:13.000000000 +0600
Change: 2010-09-28 06:35:13.000000000 +0600
[root@station20 ~]#

Is This Answer Correct ?    1 Yes 3 No

in redhat Linux wat is the command to check at ahich date and time file was created?..

Answer / ravi

ls -l

Is This Answer Correct ?    1 Yes 4 No

Post New Answer

More Linux Commands Interview Questions

What is type command in linux?

0 Answers  


I want to kill zombie process, but with using kill 9 i cannot kill that process? can u tell other commands?

3 Answers   CTS,


How do I check terminal history?

0 Answers  


How will retrieves incoming mails from different web sites

4 Answers   HP, Wipro,


what is the UID and GID of root user? Can a normal user can change the ownership of a file? what is the command to change ownership of a file?

9 Answers   HCL, IPsoft,






what is jumbi process?

6 Answers   Oracle,


What is ulimit command?

0 Answers  


What is s in permission linux?

0 Answers  


When you issue the command ls -l, what signifies the first character of the resulting display file? 701 What command can you use to determine the purpose of any command?

4 Answers  


What is a ulimit in unix?

0 Answers  


How many types of dos commands are there?

0 Answers  


What is the command can be run to remove all the rules in an iptable table?

0 Answers  


Categories