Difference among multiple Linux bin directories

People may see many bin directories on Linux systems and may be wondering what each directory is. Here we take a talk about them.

/bin
This is to hold executable files which are needed by other programs before /usr/bin is mounted.

/sbin
Same situation as /bin
However, executable files inside are mostly needed by Linux system programs.

/usr/bin
Executable files installed by Linux distribution are placed here.

/usr/sbin
Same situation as /usr/bin
However, executable files inside are mostly needed by Linux system programs.

/usr/local/bin
Users personally installed executable files are installed here.

/usr/local/sbin
Same situation as /usr/local/bin
However, executable files inside are mostly needed by Linux system programs.

oliver

Leave a Reply

Your email address will not be published. Required fields are marked *


*