this post was submitted on 09 Apr 2024
301 points (98.7% liked)

Linux

48381 readers
955 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

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!

you are viewing a single comment's thread
view the rest of the comments
[–] neidu2@feddit.nl 8 points 7 months ago* (last edited 7 months ago) (6 children)

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 6 points 7 months ago (5 children)

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
[–] KillerWhale@orcas.enjoying.yachts 1 points 7 months ago (3 children)
[–] d3Xt3r 2 points 7 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).

load more comments (2 replies)
load more comments (3 replies)
load more comments (3 replies)