ls command sort options

Brad De Vries devriesbj
Mon May 17 11:37:28 PDT 2004


Does anyone know of a way to sort the files in the a
directory the way 'ls' used to sort them?

Over the last 15 years I've gotten used to 'ls -al'
sorting the files with "." files first,
uppercase files second, lowercase files last.  Now the
'ls' command seems to ignore case and the ".".

E.g., if I have 3 files in my current directory:
  .bashrc
  README
  auction

When I do a simple 'ls -al' I expect to see the files
in the order listed above.  Unfortunately, I'm getting
them in the following order:
  auction
  .bashrc
  README

I've read through the man pages and the info pages but
have not found the option '--sort-like-it-used-to'.

Any help would be appreciated.

Brad.

P.S. 'ls --version' reveals 4.1

__________________________________________________
Yahoo! - We Remember
9-11: A tribute to the more than 3,000 lives lost
http://dir.remember.yahoo.com/tribute


More information about the Linux-users mailing list