Welcome to Soft32 Linux Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

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

 
   Soft32 Home -> Linux2 Arch -> Setup RSS
Next:  Stats comp.os.linux.setup (last 7 days)  
Author Message
none

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
Login to vote
none

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
Login to vote
Yves Bellefeuille

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
Login to vote
Dawid Michalczyk

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
Login to vote
linux-tek

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
Login to vote
ne...

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
Login to vote
linux-tek

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
Login to vote
ne...

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
Login to vote
Display posts from previous:   
Related Topics:
Linux Command: time NO OUTPUT POSSIBLE - Hi there! With linux command 'time' its easy to get the time, how long cpu computation time needs a process. Like: ..

How can I get usual screen output in piped tar command? - I am piping the output from tar to directly to gpg for encryption using the command below tar cf - --index-file..

md5sum : command problem? Output graphics ascii. (Also, re.. - Hi! I'm trying to learn how to do the md5sum thing, to verify a bunch of files I downloaded for upgrading X. I haven'...

resize video output? - Hi, I am running debian woody on a sun ultra 10. I changed my monitor from a 19" CRT to a 15" LCD and now a...

RPM Verification Output - Hello all. When I verify all with RPM (rpm -Va > rpm-verify) I get lines that look like S.5....T c /etc/printcap Cou...

GeForce DVI no output when using GUI - I upgraded my Linux card to a GeForce 3 card. It works fine in text mode using DVI. But GUI there is no video when..
       Soft32 Home -> Linux2 Arch -> Setup All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Categories:
 Windows
 Linux
 Mac
 PDA


[ Contact us | Terms of Service/Privacy Policy ]