• Magnus@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    10
    ·
    17 hours ago

    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.

    • SaltyIceteaMaker@lemmy.ml
      link
      fedilink
      arrow-up
      5
      ·
      edit-2
      17 hours ago

      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

      • Magnus@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        3
        ·
        16 hours ago

        Thanks that’s a massive help, I’m usually just searching around GitHub, forums and YouTube for info, literally never used the man command.

        • SaltyIceteaMaker@lemmy.ml
          link
          fedilink
          arrow-up
          1
          ·
          16 hours ago

          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

    • hunnybubny@discuss.tchncs.de
      link
      fedilink
      arrow-up
      3
      ·
      15 hours ago

      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.

    • turmoil@feddit.org
      link
      fedilink
      arrow-up
      2
      ·
      16 hours ago

      Just type in man <your binary> to go through the binary manual, also called man page :)