how to list file and sort by filename using ls

Zhao Peng greenmt at gmail.com
Mon Apr 24 16:34:01 EDT 2006


output of echo $LANG:

    en_US.UTF-8

"LANG=C ls -ul" does do what I expected to do.

What does "C" mean? character?

Thank you,  Kevin.

Zhao

> 1:  can you show us the output of the following:
>
>         echo $LANG
>
> 2:  Does this do what you want?:
>
>         LANG=C ls -ul
>
>
> I'll bet that the output of "ls" is sorted, but just not in the order
> that you expected.
>
> Regards,




More information about the gnhlug-discuss mailing list