Correct, as far as the 8th field reporting the year.
But the year replaces the time in the 8th field only when the last
modification time for the file is more than 6 month (even if it is in the
current year :)
For example, take a look at line 1,2 (less than 6 month old as of today) &
3,4,5 (over 6 months old as of today)..
-rw-rw-r-- 1 oracle dba 2880 Feb 5 08:05 junk.lst
-rwxrwx--- 1 oracle dba 410 Jan 30 11:08 show_all.ksh
-rwx------ 1 oracle dba 77 Jan 25 2001 t1
-rw-rw-r-- 1 oracle dba 3971 Jan 10 2001 my.lst
-rw-rw-r-- 1 oracle dba 720 Jan 7 2001 bdf.out
HTH...
Regards,
- Kirti Deshpande
Verizon Information Services
http://www.superpages.com
> -----Original Message-----
> From: Carlo Vaccari [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, July 27, 2001 7:40 AM
> To: Multiple recipients of list ORACLE-L
> Subject: Re: Year of Unix file
>
>
> > when i list the unix file (solaris), with ls -lt
> > command , i am able to see the time, month, date that
> > is created.
> >
> > is there any way to see the year that is created.
>
> The 8th field of "ls -lt" indicates the hour if the file was created in
> the current year, otherwise it indicates the year.
>
> ciao
> carlo
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Deshpande, Kirti
INET: [EMAIL PROTECTED]
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
San Diego, California -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).