Date Archives August 20, 2016

Difference between /bin vs. /sbin



  • This directory contains executable programs which are needed in single user mode and to bring the system up or repair it.


  • Like /bin, this directory holds commands needed to boot the system, but which are usually not executed by normal users.


  • This is the primary directory for executable programs. Most programs executed by normal users which are not needed for booting or for repairing the system and which are not installed locally should be placed in this directory.


  • This is where programs which are local to the site typically go.


  • Binaries for programs local to the site.
  • Recommended place to put your own created code.


  • Locally installed programs for system administration.


Tip: By typing man hier on terminal, you will find brief explanation and hierarchy information.