it is where all the binaries (programs) live (that are not system critical, those would be in sbin). so whenever you execute ls? it is actually /usr/bin/ls and so on and so forth.
then there is the “man” command. basically a manual. you can use it to find out stuff about other commands and such by just typing “man [command]” for example “man ls”
edit: this knowledge has NOT been acquired by RTFM but rather by watching YouTube
you may or may not need to install it first, depending on wether your distro ships it by default. for how to install it you should open your distros wiki in your browser
Keep in mind this is FreeBSD, but this is the perfect structure that FreeBSD obeys.
Linux distros fuck it up on a daily basis. App devs interpret it themselves and fuck it up even further.
But if you dont know what etc, usr or bin or local means, it should give you a better understanding. Navigating docs, manuals and commands should be easier.
Most app devs fuck it up (especially the lazy bastards that just throw everything in /opt and call it a day). I like being the dev who won’t let my code ship until everything fits nicely into FHS 3.0.
I’ve been using Linux for about a year now, I have no clue what is even in /usr/bin …you people have manuals?! I needed a manual to find the thing.
You can look at the Filesystem Hierarchy Standard for starters.
About manuals, try
man man
in the command line, then something likeman ls
.it is where all the binaries (programs) live (that are not system critical, those would be in sbin). so whenever you execute ls? it is actually /usr/bin/ls and so on and so forth.
then there is the “man” command. basically a manual. you can use it to find out stuff about other commands and such by just typing “man [command]” for example “man ls”
edit: this knowledge has NOT been acquired by RTFM but rather by watching YouTube
Thanks that’s a massive help, I’m usually just searching around GitHub, forums and YouTube for info, literally never used the man command.
you may or may not need to install it first, depending on wether your distro ships it by default. for how to install it you should open your distros wiki in your browser
Keep in mind this is FreeBSD, but this is the perfect structure that FreeBSD obeys.
Linux distros fuck it up on a daily basis. App devs interpret it themselves and fuck it up even further.
But if you dont know what etc, usr or bin or local means, it should give you a better understanding. Navigating docs, manuals and commands should be easier.
Most app devs fuck it up (especially the lazy bastards that just throw everything in /opt and call it a day). I like being the dev who won’t let my code ship until everything fits nicely into FHS 3.0.
There’s dozens of us.
I know my dude, I know.
Just type in man <your binary> to go through the binary manual, also called man page :)