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!

  • bastion@feddit.nl
    link
    fedilink
    arrow-up
    6
    ·
    8 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
    
        • bastion@feddit.nl
          link
          fedilink
          arrow-up
          3
          ·
          8 months ago

          Also, technically these will not just have binaries. I should have said executable, really, because scripts are there, too.

      • d3Xt3r@lemmy.nzM
        link
        fedilink
        English
        arrow-up
        2
        ·
        8 months ago

        Actually binaries can include non-executable files as well! Strictly speaking, a “binary” refers to pretty much any file that’s not plain-text (so if you tried to open a binary in a text editor, you’d see gibberish).