RH 7.1 ls sort order...
John Abreau
jabr at blu.org
Wed Oct 24 15:33:22 EDT 2001
-----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).
More information about the Discuss
mailing list