ls command sort options

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


Pam, thanks for the suggestion but I have looked
through the man pages and the info pages to no avail. 
I also checked the aliases, there were some earlier,
but have long been removed.  There is an environment
variable "LS_COLORS" which is blank so I don't think
it should have any affect.

Brad.
--- Pam R <pamroberts at blueyonder.co.uk> wrote:
> On Wednesday 11 September 2002 5:59 pm, Net Llama!
> wrote:
> > On Wed, 11 Sep 2002, Brad De Vries wrote:
> > > --- Net Llama! <netllama at linux-sxs.org> wrote:
> > > > Seeing how you mentioned 15 years, you
> couldn't
> > > > possibly be using the Gnu
> > > > version of ls way back then, hence the reaon
> why
> > > > things don't work the
> > > > same under linux.
> > >
> > > You are correct, 15 years ago I was using SCO
> UNIX,
> > > AIX and Altos UNIX.  On all those systems the
> 'ls'
> > > command worked the same.  Even last year, when I
> was
> > > using COL eDesktop 2.4, it still worked
> "correctly."
> > >
> > > This year I've used COL 3.1.1 and RH 7.3, both
> have
> > > the "problem."
> >
> > Then the solution is simple.  Grab the fileutils
> SRPM from COL2.4 and
> > rebuild it wherever you want that version.
> 
> Or:
> 
> 1) man ls
> 
> 2) Do 'alias' and look see if 'ls' has been aliased
> to something more subtle. 
> On my SuSE 8.0 it says 
> alias ls='ls $LS_OPTIONS'
>  and echo $LS_OPTIONS gives
> -N --color=tty -T 0
> 
> 3) Based on (1) & (2) above, set up your system to
> suit your preferences.
> 
> HTH
> -- 
> Pam R: Don't put off until tomorrow what you can
> leave to the day after.
> Linux StepbyStep:
> http://www.linux-sxs.org/stepbystep.html


__________________________________________________
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