Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RH 7.1 ls sort order...



-----BEGIN PGP SIGNED MESSAGE-----

On 24 Oct 2001, mark tolman wrote:

> I just upgraded from RH 6.2 to 7.1 and I have a small issue.
> 
> When I 'ls' a directory it mixes upper and lower case files and
> directories instead of being in the correct order (upper first, then
> lower).  I posted on the RH forums, but no one replied, and there is
> nothing about it in the RH Docs.
> 
> How to I fix this?

The environment variable LANG determines this. The default used to be "C", 
but lately the default is "en_US".

To fix it, add this to your .bashrc:

    export LANG=C

- --
John Abreau / Executive Director, Boston Linux & Unix 
ICQ 28611923 / AIM abreauj / JABBER jabr at jabber.org / YAHOO abreauj
Email jabr at blu.org / WWW http://www.blu.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iQCVAwUBO9cXhVV9A5rVx7XZAQEv6QQAi+TNrX9xsZnSlpW+gzR6Izjkb8aynZNS
0061BRj9H9H2CIEpijSOWRNcPOa+Tva85moNZAcL8hMQJeGhIINUMaoKhsrqtnau
+VM9608YpddfubOqEv+ZeWXh4/fJ2ENI/TtV5csQ+IRHL05i+Lt86veBarjy25fp
8MkpR4GbMGA=
=uzN3
-----END PGP SIGNATURE-----

-
Subcription/unsubscription/info requests: send e-mail with
"subscribe", "unsubscribe", or "info" on the first line of the
message body to discuss-request at blu.org (Subject line is ignored).




BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org