Results 1 to 3 of 3
I am uncertain where (in which of the following directories) which programs should be put:
/sbin
/usr/sbin
/usr/local/sbin
/bin
/usr/bin
/usr/local/bin
Whats the official recommendation?
Is this distro depended?
Should ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 10-06-2011 #1Just Joined!
- Join Date
- Jun 2006
- Posts
- 3
Diff /sbin /usr/sbin /usr/local/sbin /bin /usr/bin /usr/local/bin?
I am uncertain where (in which of the following directories) which programs should be put:
/sbin
/usr/sbin
/usr/local/sbin
/bin
/usr/bin
/usr/local/bin
Whats the official recommendation?
Is this distro depended?
Should "normal" users have write access to all "bin" folders?
Why are there so many different locations?
Thomas
- 10-06-2011 #2
This is the document you are looking for
Filesystem Hierarchy StandardYou must always face the curtain with a bow.
- 10-06-2011 #3Trusted Penguin
- Join Date
- May 2011
- Posts
- 3,673
Good explanation, that link.
No, normal users should not have write access to any of those bin dirs! If you want users to have "bin" dirs, the convention they should use is to make a bin dir in the home directory, and add that directory to their path, e.g.:
Code:mkdir ~/bin export PATH=${PATH}:~/bin


Reply With Quote
