[oclug] Solaris ls command question?

todd.clattenburg at sdc-dsc.gc.ca todd.clattenburg at sdc-dsc.gc.ca
Tue Jun 8 12:09:07 EDT 2004


AHA I found it. Someone else changed the date this morning. 
It only shows the time for the files with mod dates in 
the current year. If I 'touch foo' it shows me the time. 

grr, dont you hate that. (date++||date--)

thanks anyways.

---------------------------------------------------------------------|
Todd Clattenburg
Programmer / Analyst
Todd.Clattenburg at sdc-dsc.gc.ca


-----Original Message-----
From: oclug-bounces at lists.oclug.on.ca [mailto:oclug-bounces at lists.oclug.on.ca] On Behalf Of Messier, Jean-Francois
Sent: Tuesday, June 08, 2004 12:04 PM
To: General Membership Discussion List
Subject: RE: [oclug] Solaris ls command question?


I usually use : ls -als

JF

-----Original Message-----
From: oclug-bounces at lists.oclug.on.ca
[mailto:oclug-bounces at lists.oclug.on.ca] On Behalf Of
todd.clattenburg at sdc-dsc.gc.ca
Sent: Tuesday, June 08, 2004 11:55
To: oclug at lists.oclug.on.ca
Subject: [oclug] Solaris ls command question?



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? 

The man page and sysadmin manual say only that 'ls -l' shows the 
date, and last mod time. 

They don't indicate any options for configuration of the '-l' option.

The current ls command is aliased to 'ls -Fs' but I don't think that
should interfere with the '-l' option. I tried '/usr/bin/ls -l' and same
thing? 

I searched online, and I can't find anything about it. 

Any ideas?



---------------------------------------------------------------------|
Todd Clattenburg
Programmer / Analyst
IVR Development
NHQ Systems
Todd.Clattenburg at sdc-dsc.gc.ca

"Hope is a good breakfast, but it is a bad supper." - Francis Bacon
-- 
OCLUG general discussion list
OCLUG at lists.oclug.on.ca http://www.oclug.on.ca/mailman/listinfo/oclug
-- 
OCLUG general discussion list
OCLUG at lists.oclug.on.ca
http://www.oclug.on.ca/mailman/listinfo/oclug



More information about the OCLUG mailing list