Noob Question Thread: Ask Any Questions About Linux!

Cyclohexane@lemmy.mlmod to Linux@lemmy.ml – 314 points –

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!

423

You are viewing a single comment

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

Former FreeBSD user here. I always kept /usr separate, including /usr/home

What is a binary?

Executable programs! Bin-ary instructions for the computer to perform!

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

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).