Re: /usr/bin/ls /usr/ucb/ls /usr/local/bin/ls

From: Paul Eggert (eggert_at_twinsun.com)
Date: 07/31/04


Date: Fri, 30 Jul 2004 18:14:28 -0700

At Fri, 30 Jul 2004 21:55:54 +0000 (UTC), Alan Coopersmith <alanc@alum.calberkeley.org> writes:

> /usr/local/bin/ls does not come with the OS, so it's whatever you've
> installed locally (likely GNU ls).

There are two other 'ls' implementations too, at least in Solaris 9:

/usr/bin/sparcv9/ls -- 64-bit ls
/usr/xpg4/bin/ls -- POSIX-compatible ls

You might want to be using /usr/bin/sparcv9/ls on any modern Sparc
system with a 64-bit OS, as it should handle files with large
timestamps correctly; /usr/bin/ls doesn't. I hope the Opteron-based
systems will also have a 64-bit 'ls', whenever their 64-bit OSes are
released.

Or you could build and install a 64-bit GNU "ls" as /usr/local/bin/ls
(which would be even better :-).



Relevant Pages

  • Re: Belenix or Solaris 10 (x86) ?
    ... You really think that the GNU ... Since you are trying to make an argument based on three features though, ... let's summarize the basic aspects of the GNU userland tools which you ... The third one I consider trivial to implement in Solaris too, ...
    (comp.unix.solaris)
  • Re: which libc used by gcc (and matlab)
    ... > normally use the libc built into Solaris. ... for any unix-based gcc? ... GNU CPP version 3.2.1 ...
    (comp.unix.programmer)
  • Re: ls -d not working
    ... Has anyone noticed that with Solaris 10 the -d flag in the ls command ... It works exactly the same way as on Solaris: ... der GNU General Public License. ... will show you the directory entry of this entry and doesn't recurse into ...
    (comp.sys.sun.admin)
  • Re: ls -d not working
    ... Without '-d' you'd get listings of the contents ... behavior was duplicated on Solaris 8 and Solaris 9. ... argument lists everything except files whose names begin with ".". ... Is the GNU man page relevant to a discussion of Solaris? ...
    (comp.sys.sun.admin)
  • Re: which libc used by gcc (and matlab)
    ... > normally use the libc built into Solaris. ... for any unix-based gcc? ... GNU CPP version 3.2.1 ...
    (comp.unix.solaris)