Unix file creation date

pierho Posted messages 23 Status Member -  
zipe31 Posted messages 34620 Registration date   Status Contributor Last intervention   -
Hello,

I would like to know what the command is to see the creation date under Unix? If that’s possible, of course?

I know that "ls -l" displays a date but it’s the modification date.

Thanks for your help
Configuration: Windows XP Internet Explorer 7.0

6 answers

dubcek Posted messages 18627 Registration date   Status Contributor Last intervention   5 659
 
hello
ls -lc shows the creation date if no chown, chmod, or chgrp has been performed since
1
vignemail1 Posted messages 1262 Status Contributor 259
 
ls -c
--

Contributor member
Specialized in networks, webmastering, programming
0
pierho Posted messages 23 Status Member
 
Hello,

I had already found this command on various forums but this one doesn’t display any date for me.

Here is the result when I run ls -c:

EntitiesStructures.dat logs smit.log topas.error
dead.letter nmon smit.script vpd.properties
dsmerror.log pseaf_23062006.txt smit.transaction workspace
index.html sendmail.cf temp
jspSesameNet sh_history.old testnico.log
0
dubcek Posted messages 18627 Registration date   Status Contributor Last intervention   5 659
 
ls -lc
you need the l (lowercase L) to display the dates
0
pierho Posted messages 23 Status Member
 
Here is the response to your command:

Ls -lc
ksh: Ls: not found.
0
jipicy Posted messages 40842 Registration date   Status Moderator Last intervention   4 898 > pierho Posted messages 23 Status Member
 
ls -lc

with lowercase letters!

--
$ man woman
There is no manual page for woman.
0
dubcek Posted messages 18627 Registration date   Status Contributor Last intervention   5 659
 
sorry, the L slipped out, it’s ls -lc
0
iorireda3
 
For me, the creation date is the date of the last modification.
I will search by inode maybe it's stored somewhere.

See you later
0
zipe31 Posted messages 34620 Registration date   Status Contributor Last intervention   6 501
 
Hi,

See answer #2.

Otherwise, you can't retrieve the creation date of a file under Unix/Linux, and the information isn't stored anywhere, it's outrageous but that's how it is ;-(
0