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

Re: ls nitpick



On Sat, Jan 03, 2004 at 10:31:41PM -0500, Russ Schneider wrote:
> When you do an ls on Debian, you see something like the following:
> file1  file2  file3  dir1
> dir2   file4
> 
> etc.
> 
> When you do the same on Mandrake, you get
> file1  file2  file3  dir1/
> dir2/  file4

I doubt that either alphabetizes an 'f' before a 'd'.

> You see how there's a / at the end of each directory name, making it
> really easy to tell at a glance what's a directory and what's not?
> 
> Any way to config Debian's ls to do that?  I realize it's just a nitpick, 
> but I am curious.

Have done 'man ls'?

Try 'ls -F'.

-- 
"But a government in which the majority rule in all cases can not
be based on justice ... Can there not be a government in which
the majorities do not virtually decide right and wrong, but
conscience? -- Henry David Thoreau
    Rick Pasotto    rick@niof.net    http://www.niof.net



Reply to: