The directory of four applications that we often use under Linux is:/bin,/sbin,/usr/bin,/usr/sbin
Bin:The bin for binary shorthand mainly places some of the system's necessary execution files such as: Cat, CP, chmod DF, DMESG, gzip, kill, LS, mkdir, more, Mount, RM, Su, tar, etc.
/usr/bin:Some of the key applications for application tools include C + +, g++, GCC, Chdrv, diff, Dig, Du, eject, elm, free, gnome*, zip, htpasswd, KFM, Ktop, last, less, locale , M4, make, man, Mcopy, NcFTP, newaliases, nslookup passwd, quota, smb*, wget, etc.
/sbin:There are some prerequisites for system management such as: Cfdisk, dhcpcd, Dump, E2FSCK, Fdisk, Halt, Ifconfig, Ifup, Ifdown, Init, Insmod, Lilo, Lsmod, MKE2FS, Modprobe, Quotacheck, reboot, Rmmod, RunLevel, shutdown and so on.
/usr/sbin:Some essential programs for network management such as: DHCPD, HTTPD, IMAP, IN.*D, inetd, LPD, named, Netconfig, NMBD, samba, sendmail, squid, swap, TCPD, tcpdump, etc.
/: This is root directory
/bin:commands in this dir is all system installed user commands
/sbin:commands in this dir is all system installed Super User commands
/usr/bin:user Commands for Applications
/usr/sbin:super User commands for Applications
/usr/local/bin:application User Commands
/usr/local/sbin:application Super User commands
/bin: is a system of some instructions.
/sbin: Generally referred to as Superuser instructions.
/usr/bin: You are running scripts for some of the software that you install later.
Overview:If it is a user and administrator necessary binaries, it will be placed in the/bin, if it is necessary for the system administrator, but the average user does not use the binary files, will be placed in the/sbin. If it is not a user-required binary, it will probably be placed in/usr/bin, if not the system administrator must have tools, such as network management commands, will probably be placed in/usr/sbin.
Reference recommendation:
/bin,/sbin,/usr/bin,/usr/sbin directory differences
Linux/etc/profile, ~/.bash_profile, and several other files of the implementation process
Transferred from: http://blog.csdn.net/ithomer/article/details/9839957
Linux/bin,/sbin,/usr/bin,/usr/sbin difference (EXT)