/bin,/sbin,/usr/bin,/usr/sbin Differences/: This is root directory root user root/bin:commands in this dir is all system installed user commands system Some instructions/sbin:commands in this dir is all system installed Super User Commands Superuser command systems administration commands, which are stored in the hypervisor used by the system administrator/usr/bin:user commands for applications later installs the run script of some software/usr/sbin:super user commands for Applications some hypervisor for Superuser/usr/x11r6/bin:x Application User Commands/usr/x11r6/sbin:x Application Super User commands
Some of the important directories in Linux:• Home directory:/root,/home/username• User executable files:/bin,/usr/bin,/usr/local/bin• System executable files:/sbin,/usr/sbin,/usr/local/sbin• Other mount points:/media,/mnt• Configuration:/etc• Temp file:/tmp• Cores and Bootloader:/boot• Server data:/var,/srv• System Information:/proc,/sys• Shared libraries:/lib,/usr/lib,/usr/local/libEach user has a home directory. All users ' personal files (configuration, data, and even applications) are placed in them. The root's home directory is/root. Most non-root master directories are contained in the/home tree and are typically named by the user. important bits are in/bin (user binaries) and/sbin (System binaries). unimportant binary (form environment or Office Tools) are installed in/usr/bin and/usr/sbin. This separation is done in order to minimize the root partition as much as possible. software compiled with source code is typically located in/usr/local/bin and/usr/local/sbin.
/bin,/sbin,/usr/bin,/usr/sbin differences