Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I wrote a simple script which I want to share with my colleagues.

Should it be in /usr/local/bin or /usr/local/sbin? What is the typical usage for these directories?

share|improve this question

2 Answers 2

/usr/local/bin is for programs that a normal user may run.

/usr/local/sbin is for system administration programs (which are not part of the core OS) that a local administrator may run. By default, a normal user does not have /usr/local/sbin on their path.

share|improve this answer

The information you seek is available many places, one of which is http://www.pathname.com/fhs/.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.