The difference between the/bin/sbin/usr/bin/usr/sbin/usr/local/bin/usr/local/sbin directories in a Linux system

Source: Internet
Author: User

First, a paragraph of English:

/bin This directory contains executable programswhichis neededinchSingle user mode and to bring the sys‐tem up or repair it./Sbin like/bin, this directory holds commands needed to boot of the system, butwhichIs usually not executed by normal users./usr/Bin this is the primary directory forExecutable programs. Most programs executed by normal userswhichis not needed forBooting or forRepairing the system andwhichis not installed locally should is placedinchThis directory./usr/sbin This directory contains program binaries forSystem administrationwhichis not essential forThe boot process, forMOUNTING/USR, or forsystem repair./usr/local/bin Binaries forprograms local to the site./usr/local/sbin locally installed programs forSystem administration.

Do not understand, no matter, to a Chinese version of:

/bin  Store all user-available system programs, system startup or system repair available (can be used without mounting/usr directory)
/sbin System programs that store super users
/usr/bin store applications available to all users

/usr/local/bin Storage of Local machine-independent programs available to all users
/usr/local/sbin a local machine-independent program for super users to use

Funny version:

originally these directories are together, later until one day: the UNIX developer's hard disk is not enough, the new add a piece, hung on /usr, and TM is not enough, add a piece, hang on /usr/local; somehow, It becomes the norm .... 

The difference between the/bin/sbin/usr/bin/usr/sbin/usr/local/bin/usr/local/sbin directories in a Linux system

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.