I thought I’ll make this thread for all of you out there who have questions but are afraid to ask them. This is your chance!

I’ll try my best to answer any questions here, but I hope others in the community will contribute too!

  • neidu2@feddit.nl
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    7 months ago

    What’s the difference between /bin and /usr/bin and /usr/local/bin from an architectural point of view? And how does sbin relate to this?

    • bastion@feddit.nl
      link
      fedilink
      arrow-up
      0
      ·
      7 months ago

      There’s a standard. /usr was often a different partition.

      /bin - system binaries
      /sbin - system binaries that need superuser privileges
      /usr/bin - Normal binaries
      /usr/sbin - normal binaries that require superuser privileges
      /usr/local/bin - for executables that aren't 'packaged' - i.e., installed by you or some other program system-wide