In linux, If you type "ls --full-time", it includes the year in the file last modification time. If you type "ls -l" , it won't not display the year for recent files. Example of "ls --full-time" :
drwx------ 2 msr20 students 4096 Wed Nov 19 23:14:04 2003 file1
drwx------ 2 msr20 students 4096 Thu Nov 20 23:30:31 2003 file2
But in Solaris, "ls --full-time" switch option is not available. I tried
"ls -lu" , it still does not dispaly the year. By the way -u option is used to get the use time of last access instead of last modification time of a file.
In above example , if you type " ls -l" instead of using the "--full-time" option, the year will not be displayed. I need the year.
drwx------ 2 msr20 students 4096 Nov 19 23:14 test
drwx------ 2 msr20 students 4096 Nov 20 23:30 test2
Is there a way to get the last modification of a file that includes the year along with month, day, and time in Solaris?
Thanks!!!!!!!!