[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ls sort order: new, bad, behaviour



On 09/22/2007 05:53 PM, Eric d'Alibut wrote:
Last night I installed, and then removed, the ftpd and proftpd debs,
in that order. Now I cannot by hook or crook get 'ls' to behave as it
did before those ftp experiments. 'ls' now sorts strictly by filename
-- including directories -- so that the latter are "mixed in" with
regular files in the output of 'ls'.
[...]

Does "ls -X" give you the output you want?

If so, you can create an alias for that command in ~/.bashrc .

I hope this helps.




Reply to: