Whats the difference between the above ls commands.
/usr/bin/ls & /usr/ucb/ls come with the OS. The man page explains
the differences (/usr/bin uses the SysV flags, /usr/ucb uses the ucb
flags - they're not compatible, for instance -g on /usr/ucb/ls means
"add group name to -l format", while on /usr/bin/ls it means "remove
group name from -l format").
/usr/local/bin/ls does not come with the OS, so it's whatever you've
installed locally (likely GNU ls).
http://www.csua.berkeley.edu/~alanc/ * http://blogs.sun.com/alanc/
Working for, but definitely not speaking for, Sun Microsystems, Inc.
There are two other 'ls' implementations too, at least in Solaris 9:Quote:> /usr/local/bin/ls does not come with the OS, so it's whatever you've
> installed locally (likely GNU ls).
/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
Or you could build and install a 64-bit GNU "ls" as /usr/local/bin/ls
(which would be even better :-).
>> /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
To be or not to be is true. G. Boole No it isn't. L. E. J. Brouwer
!!! Sender/From address is bogus. Use reply-to one !!!
On a SUN E450 with Solaris 2.6, I found that /usr/bin/ls and
/usr/xpg4/bin/ls reports the diffrent modified timestamp for the same file.
Does anyone have any idea?