Re: Date format of ls -l command

cbaker_at_GOODYEAR.COM
Date: 04/29/04

  • Next message: Taylor, David: "oldest file in a filesystem"
    Date:         Thu, 29 Apr 2004 09:30:47 -0400
    To: aix-l@Princeton.EDU
    
    

    Steve,

    ls -l shows you the date and time of a file if it is less than 6 months old. After that, the time is replaced with the year.

    As for your first system, that file is dated in the future [ August of this year ] (assuming your system has the correct date and time
    set.). So, it gives the year also, since it is not today or the past six months.

    As for the order of date and month, I would suspect that your $LANG or other regional settings do not match. Like English-USA verses
    Europe. Sorry, I manage RS/6000 all over world, but we always set them up as we do in USA so I am not sure about the date order
    difference.

    Christopher M. Baker
    Senior Technical Support Analyst
    DSE/TCO
    Goodyear Tire and Rubber Company

    =================================================
    Contains Confidential and/or Proprietary Information.
    May not be copied or disseminated without the expressed
    written consent of The Goodyear Tire & Rubber Company.
    =================================================

                          "Copper, Steve"
                          <scopper@WESTERNP To: aix-l@Princeton.EDU
                          OWER.CO.UK> cc: (bcc: Chris Baker/NA/GDYR)
                          Sent by: IBM AIX Subject: Date format of ls -l command
                          Discussion List
                          <aix-l@Princeton.
                          EDU>

                          04/29/04 05:06 AM
                          Please respond to
                          IBM AIX
                          Discussion List

    All,

    Hopefully a quick question. We have several systems (aix 5L) which when you
    do a "ls -l" command the output is as follows

    drwxr-xr-x 45 bin bin 1024 Aug 18 2004 usr

    and on other systems when you do a "ls -l" the output is as follows

    drwxr-xr-x 42 root system 1024 11 Feb 10:14 usr

    If you compare the two you will see that the date part on the first one is
    in the order "month date year/time" (Aug 18 2004) and the second one the
    date format is "date month year/time" (11 Feb 10:14).

    Can anyone shed any light as to what is happening here and how we can make
    all the systems display the date part in a consistent manner?

    Thanks in advance

    Steve Copper

    ______________________________________________________________________
    This email has been scanned by the MessageLabs Email Security System.
    For more information please visit http://www.messagelabs.com/email
    ______________________________________________________________________


  • Next message: Taylor, David: "oldest file in a filesystem"

    Relevant Pages

    • Re: syslog and tuning
      ... Senior Technical Support Analyst ... Goodyear Tire and Rubber Company ... Contains Confidential and/or Proprietary Information. ... written consent of The Goodyear Tire & Rubber Company. ...
      (AIX-L)
    • Subscribe - FOUND IT - Nevermind
      ... Senior Technical Support Analyst ... Goodyear Tire and Rubber Company ... Contains Confidential and/or Proprietary Information. ... written consent of The Goodyear Tire & Rubber Company. ...
      (AIX-L)
    • Re: Simple samba question
      ... May Contain Confidential and/or Proprietary Information. ... written consent of The Goodyear Tire & Rubber Company. ...
      (AIX-L)
    • Re: join not joining more then 9 lines
      ... Goodyear Tire and Rubber Company ... Contains Confidential and/or Proprietary Information. ... written consent of The Goodyear Tire & Rubber Company. ... I am writing a script that is using the join command. ...
      (AIX-L)
    • Re: IntelliStation Power 275
      ... Goodyear Tire and Rubber Company ... written consent of The Goodyear Tire & Rubber Company. ... workstations will not beep? ... We have a few users who claim that they need the DVD drives on these ...
      (AIX-L)

  • Quantcast