ls command sort options

Jim Bonnet jimbo
Mon May 17 11:37:29 PDT 2004


Brad-- Im not seeing this on the 3.1.1 stock install...

[jimbo at flyer foo]$ ls -la
total 3
drwxr-xr-x    2 jimbo    users        1024 Sep 11 14:17 .
drwxr-xr-x    9 jimbo    users        1024 Sep 11 14:17 ..
-rw-r--r--    1 jimbo    users         577 Sep 11 14:16 .bashrc
-rw-r--r--    1 jimbo    users           0 Sep 11 14:16 README
-rw-r--r--    1 jimbo    users           0 Sep 11 14:16 almost
[jimbo at flyer foo]$ ls --version
ls (fileutils) 4.1
Written by Richard Stallman and David MacKenzie.

Copyright (C) 2001 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
[jimbo at flyer foo]$ cat /etc/.product
OpenLinux-MR311-server-20011219-1600
[jimbo at flyer foo]$

are you *sure* you havent set something to do this ordering someplace? I 
find no
options in the man pages for this but Im not ls sorting expert either... 
redhat and suse8 also
sort like the above listing shows...

If you create a new user does the listing get in the right order? Wonder 
if your sum matches the
below one?

[jimbo at flyer foo]$ sum -r /bin/ls
35295    46
[jimbo at flyer foo]$

good luck!
jim




More information about the Linux-users mailing list