file date format 

> When i use the command ls -l to list the files in the
> directory, I get the following type of output for the files
> that are newer than 6 months
>
> -rw-r----- 1 abcdef 18 Sep 26 19:00 testfile
>
> but for the files that are older than 6 months, i get
> following type of output
>
> -rw-r----- 1 abcdef 621 Oct 6 1997 testfile1
>

Get GNU ls, it has an option to let you specify the date format. Standard ls always shows the time if the date is within 6 months, the year if it's outside that range.

Barry Margolin,

file date format 

Get the pre-compiled gnu file utilites package (yes, it's in Sun Package format, even) at sunfreeware.com. You may want to follow the link from there to the "Original Solaris 2.5 site" to avoid the Alpha version that's up currently. Oh, and get Gnu Zip from the same site to unzip the package. The use the "—full-time" option to it to display a verbose date.

documented on: 1999.09.30 Thu 11:40:01