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

Re: ls'ing dirs before files



On Fri, Jul 26, 2002 at 11:03:43PM +0200, martin f krafft wrote:
> sometime last year, the /bin/ls behaviour changed to sorting files and
> dirs interspersed. how can i make /bin/ls first list all dirs, then
> all files, and each of them sorted by filename within itself?

/bin/ls has never listed directories first, as far as I know. You might
have got confused by collation order changes though - try LC_COLLATE=C?

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: