On December 23, 2003 05:42 pm, David Lupo wrote: > On Tue, Dec 23, 2003 at 05:31:11PM -0800, Pete Nesbitt wrote: > > A few versions ago the ls command changed the way it displays results. It > > moved from the traditional ".,#,A,a" format to one that more resembles > > the dos sort order. I notice listings at redhat.com still use the old > > sort! > > > > Does anyone know how to fix 'ls' so it uses the old sort? > > I think you're refering to the locale-related sort order. You can get the > old behavior back by switching from the English to the "C" locale. Try > > alias ls="LC_ALL=C ls" > > This will switch the order back to ASCII order, which is close to what you > describe, although '#' does come before '.'. Perfert, thanks. ...although I should have checked that before posting as I use it for man pages :-0 By "#" I meant numbers, which do come after .files, although I had never (until now) tried a file starting with "#", cool. Thanks. -- Pete Nesbitt, rhce -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list