Linux/bin,/sbin,/usr/bin,/usr/sbin is different from the following four application directories in linux: /bin,/sbin,/usr/bin,/usr/sbin
Bin:
The short description of "bin" as "binary" mainly places some necessary execution files of the system, for example: cat, cp, chmod df, dmesg, gzip, kill, ls, mkdir, more, mount, rm, su, tar, etc.
/Usr/bin:
It mainly stores necessary execution files for some application software tools, such as 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 *, and wget.
/Sbin:
It mainly places some necessary procedures for system management, such: cfdisk, dhcpcd, dump, e2fsck, fdisk, halt, ifconfig, ifup, ifdown, init, insmod, lilo, lsmod, mke2fs, modprobe, quotacheck, reboot, rmmod, runlevel and shutdown.
/Usr/sbin:
Place some necessary processes for network management, such as dhcpd, httpd, imap, and in. * d, inetd, lpd, named, netconfig, nmbd, samba, sendmail, squid, swap, tcpd, and tcpdump
/: This is root directory/bin: commands in this dir are all system installed user commands/sbin: commands in this dir are 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: it is some system commands. /sbin: generally refers to superuser commands. /usr/bin: The running script of some software you install later.
Summary:
If it is a required binary file for the user and administrator, It will be placed in/bin;
If it is required by the system administrator, binary files that are not commonly used by users are stored in/sbin.
If it is not a required binary file, it will mostly be stored in/usr/bin;
If it is not a necessary tool for the system administrator, such as a network management command, it is usually stored in/usr/sbin.