Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

file creation date format

Status
Not open for further replies.

hfaix

MIS
Nov 25, 2003
596
US
Does anybody know why on some of my machines the date of a file created today is :

-rw------- 1 root system 126 Mar 6

and on other machines it is:
-rw------- 1 root system 108 Mar 06

Both of these are output from AIX 5.3 ML3 machines. Notice how the first one doesn't have the 0, but the second ones. These are but output from an ls -l command.

Thanks in advanced.
 
My money's on Jim's answer. I'll even go further and predict that the servers without the leading zero are older machines, or mksysb cloned from older machines, leaving them with LANG=C rather than LANG=en_US.



Rod Knowlton
IBM Certified Advanced Technical Expert pSeries and AIX 5L
CompTIA Linux+
CompTIA Security+

 
Interesting :

server1 :
-rw------- 1 root system 128 Mar 06

env | grep LANG
LANG=en_US


server2 :

-rw------- 1 root system 134 Mar 6
env | grep LANG
LANG=C

What's weird, is both were built from AIX 5.3 bffcreate (media) from my NIM server. It's possible I've done something with the LANG=en_US server, that seems to be where I spend most of my tinkering time.

Thanks for your help.



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top