On Tue, 01 May 2012 15:10:23 -0400, Dan B. wrote: > What controls the order that the ls command uses for sorting names?
>From "man ls" → info coreutils 'ls invocation' anf here it can be read: *** By default, the output is sorted alphabetically, according to the locale settings in effect.(1) If standard output is a terminal, the output is in columns (sorted vertically) and control characters are output as question marks; otherwise, the output is listed one per line and control characters are output as-is. (1) If you use a non-POSIX locale (e.g., by setting `LC_ALL' to `en_US'), then `ls' may produce output that is sorted differently than you're accustomed to. In that case, set the `LC_ALL' environment variable to `C'. *** Depending on the version you're using this can vary. > On a fresh Squeeze installation, ls seems to ignore leading "." > characters (it no longer lists all "hidden" files adjacent to each > other) and to ignore capitalization differences. (...) Can you post a sample of the command you issued and the ouput you got? Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/jnri98$iv6$4...@dough.gmane.org