When did the output of "ls -l" command change? - Setup

This is a discussion on When did the output of "ls -l" command change? - Setup ; I noticed something different about the output to the ls command. The MM/DD/YY date stamp is numerical instead of alphabetical. I upgraded from FC6 to F7 and that's when I noticd the change. I also have a RH9 box that ...

+ Reply to Thread
Results 1 to 8 of 8

Thread: When did the output of "ls -l" command change?

  1. When did the output of "ls -l" command change?

    I noticed something different about the output to the ls command. The
    MM/DD/YY date stamp is numerical instead of alphabetical. I upgraded
    from FC6 to F7 and that's when I noticd the change. I also have a RH9
    box that displays ls results as alphabetical. See below.

    F7 "ls -l" command results:
    drwx------ 2 xxxx xxxx 4096 2007-07-22 22:35 orbit-root/
    drwx------ 2 xxxx xxxx 4096 2007-07-22 22:35 gconfd-root/
    drwx------ 2 xxxx xxxx 4096 2007-07-22 23:55 ssh-PbUmB14720/
    -rw------- 1 xxxxx xxxxx 214 2007-07-22 23:55 .gdm5ZW9VT
    drwx------ 3 xxxxx xxxxx 4096 2007-07-22 23:55 gconfd-xxxxx/
    drwx------ 2 xxx xxx 4096 2007-07-22 23:55 orbit-gdm/
    drwx------ 2 xxxxx xxxxx 4096 2007-07-22 23:55 keyring-fPVPJB/
    drwxrwxrwt 2 xxxx xxxx 4096 2007-07-22 23:55 .ICE-unix/
    drwx------ 2 xxxxx xxxxx 4096 2007-07-22 23:55 virtual-xxxxx

    RH9 "ls -l" command results:
    drwxrwxrwt 2 xxx xxx 4096 Jul 11 17:10 .font-unix/
    srw-rw-rw- 1 xxxx xxxx 0 Jul 11 17:10 .gdm_socket=
    drwxrwxrwt 2 xxxx xxxx 4096 Jul 11 17:10 .X11-unix/
    -r--r--r-- 1 xxxx xxxx 11 Jul 11 17:10 .X0-lock
    drwx------ 2 xxxxx xxxxxx 4096 Jul 12 20:16 ssh-XXLhExQ8/
    drwx------ 2 xxxxx xxxxxx 4096 Jul 12 20:17 mcop-xxxxx/
    drwxrwxrwt 2 xxxx xxxx 4096 Jul 12 20:17 .ICE-unix/
    drwx------ 2 xxxxx xxxxxx 4096 Jul 12 20:17 ksocket-xxxxx/

  2. Re: When did the output of "ls -l" command change?

    none wrote:
    > I noticed something different about the output to the ls command. The
    > MM/DD/YY date stamp is numerical instead of alphabetical. I upgraded
    > from FC6 to F7 and that's when I noticd the change. I also have a RH9
    > box that displays ls results as alphabetical. See below.
    >
    > F7 "ls -l" command results:
    > drwx------ 2 xxxx xxxx 4096 2007-07-22 22:35 orbit-root/
    > drwx------ 2 xxxx xxxx 4096 2007-07-22 22:35 gconfd-root/
    > drwx------ 2 xxxx xxxx 4096 2007-07-22 23:55 ssh-PbUmB14720/
    > -rw------- 1 xxxxx xxxxx 214 2007-07-22 23:55 .gdm5ZW9VT
    > drwx------ 3 xxxxx xxxxx 4096 2007-07-22 23:55 gconfd-xxxxx/
    > drwx------ 2 xxx xxx 4096 2007-07-22 23:55 orbit-gdm/
    > drwx------ 2 xxxxx xxxxx 4096 2007-07-22 23:55 keyring-fPVPJB/
    > drwxrwxrwt 2 xxxx xxxx 4096 2007-07-22 23:55 .ICE-unix/
    > drwx------ 2 xxxxx xxxxx 4096 2007-07-22 23:55 virtual-xxxxx
    >
    > RH9 "ls -l" command results:
    > drwxrwxrwt 2 xxx xxx 4096 Jul 11 17:10 .font-unix/
    > srw-rw-rw- 1 xxxx xxxx 0 Jul 11 17:10 .gdm_socket=
    > drwxrwxrwt 2 xxxx xxxx 4096 Jul 11 17:10 .X11-unix/
    > -r--r--r-- 1 xxxx xxxx 11 Jul 11 17:10 .X0-lock
    > drwx------ 2 xxxxx xxxxxx 4096 Jul 12 20:16 ssh-XXLhExQ8/
    > drwx------ 2 xxxxx xxxxxx 4096 Jul 12 20:17 mcop-xxxxx/
    > drwxrwxrwt 2 xxxx xxxx 4096 Jul 12 20:17 .ICE-unix/
    > drwx------ 2 xxxxx xxxxxx 4096 Jul 12 20:17 ksocket-xxxxx/


    Wow, this was a quick solution. I added LC_TIME=POSIX to my local
    profile and the output is now back to the way I like it in the RH9
    example. The new question now is how do I make this change global for
    all system accounts?


  3. Re: When did the output of "ls -l" command change?

    On Mon, 23 Jul 2007, none wrote:

    > I noticed something different about the output to the ls command. The
    > MM/DD/YY date stamp is numerical instead of alphabetical.


    Do "alias" and see if you have an alias for ls.

    --
    Yves Bellefeuille



  4. Re: When did the output of "ls -l" command change?

    none wrote:
    > none wrote:
    >> I noticed something different about the output to the ls command. The
    >> MM/DD/YY date stamp is numerical instead of alphabetical. I upgraded
    >> from FC6 to F7 and that's when I noticd the change. I also have a RH9
    >> box that displays ls results as alphabetical. See below.
    >>
    >> F7 "ls -l" command results:
    >> drwx------ 2 xxxx xxxx 4096 2007-07-22 22:35 orbit-root/
    >> drwx------ 2 xxxx xxxx 4096 2007-07-22 22:35 gconfd-root/
    >> drwx------ 2 xxxx xxxx 4096 2007-07-22 23:55 ssh-PbUmB14720/
    >> -rw------- 1 xxxxx xxxxx 214 2007-07-22 23:55 .gdm5ZW9VT
    >> drwx------ 3 xxxxx xxxxx 4096 2007-07-22 23:55 gconfd-xxxxx/
    >> drwx------ 2 xxx xxx 4096 2007-07-22 23:55 orbit-gdm/
    >> drwx------ 2 xxxxx xxxxx 4096 2007-07-22 23:55 keyring-fPVPJB/
    >> drwxrwxrwt 2 xxxx xxxx 4096 2007-07-22 23:55 .ICE-unix/
    >> drwx------ 2 xxxxx xxxxx 4096 2007-07-22 23:55 virtual-xxxxx
    >>
    >> RH9 "ls -l" command results:
    >> drwxrwxrwt 2 xxx xxx 4096 Jul 11 17:10 .font-unix/
    >> srw-rw-rw- 1 xxxx xxxx 0 Jul 11 17:10 .gdm_socket=
    >> drwxrwxrwt 2 xxxx xxxx 4096 Jul 11 17:10 .X11-unix/
    >> -r--r--r-- 1 xxxx xxxx 11 Jul 11 17:10 .X0-lock
    >> drwx------ 2 xxxxx xxxxxx 4096 Jul 12 20:16 ssh-XXLhExQ8/
    >> drwx------ 2 xxxxx xxxxxx 4096 Jul 12 20:17 mcop-xxxxx/
    >> drwxrwxrwt 2 xxxx xxxx 4096 Jul 12 20:17 .ICE-unix/
    >> drwx------ 2 xxxxx xxxxxx 4096 Jul 12 20:17 ksocket-xxxxx/

    >
    > Wow, this was a quick solution. I added LC_TIME=POSIX to my local
    > profile and the output is now back to the way I like it in the RH9
    > example. The new question now is how do I make this change global for
    > all system accounts?
    >


    This is actually quite useful. I actually like the F7 date format
    better. Thanks for posting the solution. As for making global changes I
    would grep all files in /etc for "LC_TIME=". It's probably there or
    similar config dirs.

    --
    Dawid Michalczyk
    http://www.comp.eonworks.com _Linux SysAdmin and Webmaster scripts_

  5. Re: When did the output of "ls -l" command change?

    Dawid Michalczyk wrote:
    > none wrote:
    >> none wrote:
    >>> I noticed something different about the output to the ls command. The
    >>> MM/DD/YY date stamp is numerical instead of alphabetical. I upgraded
    >>> from FC6 to F7 and that's when I noticd the change. I also have a RH9
    >>> box that displays ls results as alphabetical. See below.
    >>>
    >>> F7 "ls -l" command results:
    >>> drwx------ 2 xxxx xxxx 4096 2007-07-22 22:35 orbit-root/
    >>> drwx------ 2 xxxx xxxx 4096 2007-07-22 22:35 gconfd-root/
    >>> drwx------ 2 xxxx xxxx 4096 2007-07-22 23:55 ssh-PbUmB14720/
    >>> -rw------- 1 xxxxx xxxxx 214 2007-07-22 23:55 .gdm5ZW9VT
    >>> drwx------ 3 xxxxx xxxxx 4096 2007-07-22 23:55 gconfd-xxxxx/
    >>> drwx------ 2 xxx xxx 4096 2007-07-22 23:55 orbit-gdm/
    >>> drwx------ 2 xxxxx xxxxx 4096 2007-07-22 23:55 keyring-fPVPJB/
    >>> drwxrwxrwt 2 xxxx xxxx 4096 2007-07-22 23:55 .ICE-unix/
    >>> drwx------ 2 xxxxx xxxxx 4096 2007-07-22 23:55 virtual-xxxxx
    >>>
    >>> RH9 "ls -l" command results:
    >>> drwxrwxrwt 2 xxx xxx 4096 Jul 11 17:10 .font-unix/
    >>> srw-rw-rw- 1 xxxx xxxx 0 Jul 11 17:10 .gdm_socket=
    >>> drwxrwxrwt 2 xxxx xxxx 4096 Jul 11 17:10 .X11-unix/
    >>> -r--r--r-- 1 xxxx xxxx 11 Jul 11 17:10 .X0-lock
    >>> drwx------ 2 xxxxx xxxxxx 4096 Jul 12 20:16 ssh-XXLhExQ8/
    >>> drwx------ 2 xxxxx xxxxxx 4096 Jul 12 20:17 mcop-xxxxx/
    >>> drwxrwxrwt 2 xxxx xxxx 4096 Jul 12 20:17 .ICE-unix/
    >>> drwx------ 2 xxxxx xxxxxx 4096 Jul 12 20:17 ksocket-xxxxx/

    >>
    >> Wow, this was a quick solution. I added LC_TIME=POSIX to my local
    >> profile and the output is now back to the way I like it in the RH9
    >> example. The new question now is how do I make this change global for
    >> all system accounts?
    >>

    >
    > This is actually quite useful. I actually like the F7 date format
    > better. Thanks for posting the solution. As for making global changes I
    > would grep all files in /etc for "LC_TIME=". It's probably there or
    > similar config dirs.
    >


    You were right about /etc. Globally set in /etc/profile.d/lang.csh and
    lang.sh.

    lang.csh: setenv LC_TIME POSIX
    lang.sh: export LC_TIME=POSIX

  6. Re: When did the output of "ls -l" command change?

    On Monday 23 Jul 2007 12:43, none in soothing anger wrote:

    > I noticed something different about the output to the ls command. The
    > MM/DD/YY date stamp is numerical instead of alphabetical. I upgraded
    > from FC6 to F7 and that's when I noticd the change. I also have a RH9
    > box that displays ls results as alphabetical. See below.

    No idea when this changed but there is a whole thread on this topic on
    the fedora list.

    ne...
    --
    Registered Linux User # 125653 (http://counter.li.org)
    Certified: 75% bastard, 42% of which is tard.
    http://www.thespark.com/bastardtest
    Now accepting personal mail for GMail invites.

  7. Re: When did the output of "ls -l" command change?

    ne... wrote:
    > On Monday 23 Jul 2007 12:43, none in soothing anger wrote:
    >
    >> I noticed something different about the output to the ls command. The
    >> MM/DD/YY date stamp is numerical instead of alphabetical. I upgraded
    >> from FC6 to F7 and that's when I noticd the change. I also have a RH9
    >> box that displays ls results as alphabetical. See below.

    > No idea when this changed but there is a whole thread on this topic on
    > the fedora list.
    >
    > ne...


    Which Fedora list?

  8. Re: When did the output of "ls -l" command change?

    On Monday 23 Jul 2007 23:55, linux-tek in soothing anger wrote:

    > Which Fedora list?

    I believe fedora-list@redhat.com

    ne...
    --
    Registered Linux User # 125653 (http://counter.li.org)
    Certified: 75% bastard, 42% of which is tard.
    http://www.thespark.com/bastardtest
    Now accepting personal mail for GMail invites.

+ Reply to Thread