[CentOS] ls -l output

Filipe Brandenburger filbranden at gmail.com
Thu Sep 3 22:06:04 UTC 2009


Hi,

On Thu, Sep 3, 2009 at 18:01, Jacob Bresciani <Jacob at aers.ca> wrote:
> on the new Centos 5.3 systems ls -a returns all the files sorted
> alphabetically with capital's and smalls being equal and the . at the
> start of a hidden file appears to be ignored.

To fix the sorting order for all users in the system, add the
following line to the end of the /etc/sysconfig/i18n file:

LC_COLLATE="C"

To fix it for a specific user only, add it to the ~/.i18n file instead.

HTH,
Filipe



More information about the CentOS mailing list