[oclug] Solaris ls command question?

Ross Jordan rjordan at numb.ca
Tue Jun 8 13:08:53 EDT 2004


It would seem Patrick Smith, on Tue, Jun 08, 2004 at 01:01:19PM -0400, wrote:
> Ross Jordan wrote:
> >It would seem todd.clattenburg at sdc-dsc.gc.ca, on Tue, Jun 08, 2004 at 
> >11:55:05AM -0400, wrote:
> >>I am working on Solaris 5.6. Don't laugh if this is a stupid question,
> >>but, the 'ls -l' command shows the date and not the time. How do I get
> >>it to show the date and the time? 
> >
> >You can force it with ls -lc (ctime) ls -lu (mtime)
> 
> Are you sure about the last?  It's been around three years since I last 
> used Solaris, but I remember 'ls -lu' as showing the access time, not 
> the modification time.  Certainly GNU ls on my Linux box behaves that way.

Yeah, you are correct.

-Ross



More information about the OCLUG mailing list