[Techtalk] ls display

Andrea Schweer andrea at andaka.org
Wed Oct 15 01:59:52 UTC 2008


Hi,

Anne Wainwright wrote:
> iIwant ls to display with all the directories bunched together at the end.
>
> $ ls -rlX
> It appears to do it fine in a home subdirectory ~/somesubd$ and
> positions all the directories at the end (for handy viewing ready to $ cd)
>
> but in my home directory ~$ it decidedly doesn't do it. The directories
are all mixed up with the normal files.
>
> What simple thing can I be missing?

You don't happen to have dots in some of your directory names, by any
chance? That's what tripped me up when I tried to reproduce the behaviour
you mentioned.

cheers,
Andrea



More information about the Techtalk mailing list