|
Next: Stats comp.os.linux.setup (last 7 days)
|
| Author |
Message |
External

Since: Jul 23, 2007 Posts: 2
|
(Msg. 1) Posted: Mon Jul 23, 2007 2:43 am
Post subject: When did the output of "ls -l" command change? Archived from groups: comp>os>linux>setup (more info?)
|
|
|
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/ |
|
| Back to top |
|
 |  |
External

Since: Jul 23, 2007 Posts: 2
|
(Msg. 2) Posted: Mon Jul 23, 2007 3:12 am
Post subject: Re: When did the output of "ls -l" command change? [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
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? |
|
| Back to top |
|
 |  |
External

Since: Dec 06, 2005 Posts: 64
|
(Msg. 3) Posted: Mon Jul 23, 2007 3:17 am
Post subject: Re: When did the output of "ls -l" command change? [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
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
<yan.RemoveThis@storm.ca> |
|
| Back to top |
|
 |  |
External

Since: Jul 28, 2007 Posts: 8
|
(Msg. 4) Posted: Mon Jul 23, 2007 9:26 am
Post subject: Re: When did the output of "ls -l" command change? [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
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_ |
|
| Back to top |
|
 |  |
External

Since: Jul 23, 2007 Posts: 3
|
(Msg. 5) Posted: Mon Jul 23, 2007 9:26 am
Post subject: Re: When did the output of "ls -l" command change? [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
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 |
|
| Back to top |
|
 |  |
External

Since: Jul 23, 2007 Posts: 2
|
(Msg. 6) Posted: Mon Jul 23, 2007 3:39 pm
Post subject: Re: When did the output of "ls -l" command change? [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
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. |
|
| Back to top |
|
 |  |
External

Since: Jul 23, 2007 Posts: 3
|
(Msg. 7) Posted: Mon Jul 23, 2007 3:39 pm
Post subject: Re: When did the output of "ls -l" command change? [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
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? |
|
| Back to top |
|
 |  |
External

Since: Jul 23, 2007 Posts: 2
|
(Msg. 8) Posted: Tue Jul 24, 2007 9:08 am
Post subject: Re: When did the output of "ls -l" command change? [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
On Monday 23 Jul 2007 23:55, linux-tek in soothing anger wrote:
> Which Fedora list?
I believe fedora-list RemoveThis @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. |
|
| Back to top |
|
 |  |