/usr/bin, /usr/local/bin, /sbin or /opt/bin, /var/opt/bin - I'm confused.

/usr/bin, /usr/local/bin, /sbin or /opt/bin, /var/opt/bin - I'm confused.

Post by standbyme_.. » Fri, 29 May 1998 04:00:00



Hi all,

All these directories are for executable binary, right ?  How does one
decide which executable binary goes to which directory ?

/usr/bin : For what ?
/usr/local/bin:  for what ?
/sbin : ??
/opt/bin : ??
/var/opt/bin : ??

Is there any other /bin beside those above ?

Thanks

 
 
 

/usr/bin, /usr/local/bin, /sbin or /opt/bin, /var/opt/bin - I'm confused.

Post by andy » Sat, 30 May 1998 04:00:00


/usr/bin : For what ?            for solaris tools
/usr/local/bin:  for what ?    for your tools (local to that
server/site/company)
/sbin : ??                                for system tools (system bin)
/opt/bin : ??                            for add-on options tools
/var/opt/bin : ??                      same again

 
 
 

1. /bin /usr/bin /usr/local/bin etc

Hi,

Could somebody give me a reason why I shouldn't create one directory for binaries say /usr/bin, move all files from /bin and /usr/local/bin to /usr/bin and make /usr/bin and /usr/local/bin symlinks to /usr/bin (and the same thing for the /sbin /usr/sbin and /usr/local/sbin)?

I'm building my own 'distribution' from sources and it made me wonder why I should have three bin dirs in my case (there's no need for system dependant/independant seperation since this box  isn't on any network (other than Internet) and no other people besides me login to this box).

I'm sure there are several good reasons, but I wonder if they would apply to me in this case.

Thanks for any answer and if it's not a problem for you, i'd like to receive a response via email.

--
Thanks,
Gerard  Beekmans

2. Mach 32:"Not Enough Memory for display size"?

3. /usr/bin/ls /usr/ucb/ls /usr/local/bin/ls

4. Restoring the System fails after Suspend, Solaris 8

5. Difference between /bin and /usr/local/bin and */bin?

6. Mercury 64 supported by XFree 3.1.1 ?

7. What is Sun's preferred directory: /usr/local/bin or /opt/local ?

8. SYSTEM PATCH FOR DIG. UNIX v.4.0D

9. /usr/local/bin/perl ->/usr/bin/perl

10. /usr/local/bin vs. /usr/bin

11. how to combine /usr/bin and /usr/local/bin etc ??

12. Why /usr/bin instead of /usr/local/bin for gnu stuff?

13. setting executable path to both /usr/local/bin/ & /usr/bin/