diff. between /bin and /usr/ucb

  • tlogine
  • Novice
  • Novice
  • tlogine
  • Posts: 23

Post 3+ Months Ago

Hi All,

Please explain me what is the difference between /bin and /usr/ucb/

I have same commands in both directories but works differently.

and I have given below their sizes also.

/bin > ls -ltrd ls
-r-xr-xr-x 1 root bin 18844 Jan 6 2000 ls
/bin > ls -ltrd /usr/ucb/ls
-rwxr-xr-x 1 root bin 13500 Jan 6 2000 /usr/ucb/ls

which all in solaries 5.8


Thank you,
Tlogine
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • Daemonguy
  • Moderator
  • Web Master
  • User avatar
  • Posts: 2700
  • Loc: Somewhere outside the box in Sarasota, FL.

Post 3+ Months Ago

This must be on a Sun box.

The /usr/ucb dir was created to house the more BSD-like functions available for certains binaries while the other contains the standard SysV-style.

It's all artifacts; something that Sun folks know only too well (those pesky Sun developers are packrats, never throw any code away. :) ).

In any case, it all stems from Sun's rocky relationship with SysV unix (ATT Style) and the BSD flavor. I imagine too, that it helps to sell more Solaris boxes if people think they can get "their" version of 'ps' running.

Anyway, that's the reason.

Cheers.
  • tlogine
  • Novice
  • Novice
  • tlogine
  • Posts: 23

Post 3+ Months Ago

Hi Daemonguy,

Thanks for your explanation.

Thank you.
  • Daemonguy
  • Moderator
  • Web Master
  • User avatar
  • Posts: 2700
  • Loc: Somewhere outside the box in Sarasota, FL.

Post 3+ Months Ago

No problem, hope it helped.

Post Information

  • Total Posts in this topic: 4 posts
  • Users browsing this forum: No registered users and 29 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.