Clarification: Just making fun of people(including myself) who watch shitty videos instead of official documentation.

  • gwilikers
    link
    fedilink
    arrow-up
    2
    ·
    14 hours ago

    Has anyone here ever come across a low res tutorial video with microsmic font that is impossible to read? I appreciate their desire to help others but why do people do that?

  • normalexit@lemmy.world
    link
    fedilink
    arrow-up
    7
    ·
    1 day ago

    My dryer broke the other day, which turned out to be the heating element. I watched a bunch of videos to try and figure out how to troubleshoot the problem and hopefully address it.

    One of the videos, after an intro, claimed to have the solution. Then they proceeded to talk about the temperature control features of the machine and how I should make sure the heat is turned on.

    That is the level many of the unix / software development videos out there. Just literally some AI slop or silly person who doesn’t know what they are talking about uploading a quick clip to grow their channel.

  • Noxy@pawb.social
    link
    fedilink
    English
    arrow-up
    35
    arrow-down
    1
    ·
    2 days ago

    Man pages fucking suck, and I say that having been working with linux full time professionally for 11 years.

    The best ones have plenty of examples.

    • Nalivai@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      19 hours ago

      Yeah, I’m writing code on Linux and for Linux and I use it extensively since 2012. I can remember maybe one or two times man was really helpful. Usually it’s an enormous book that somehow doesn’t contain exactly that bit information that you’re looking for

      • gwilikers
        link
        fedilink
        arrow-up
        1
        ·
        1 day ago

        Is there any reason to use tealdeer over just tldr aside from speed?

        • Raptorox@sh.itjust.works
          link
          fedilink
          arrow-up
          3
          ·
          1 day ago

          I don’t know tbh. I used both and tldr was really slow when compared to man or even just DDGing, tealdeer is real fast

  • Tartas1995@discuss.tchncs.de
    link
    fedilink
    arrow-up
    5
    ·
    2 days ago

    Honestly I kinda like man pages. It is a pain but it is the least painful. And compared to e.g. the PowerShell docs, I love the man pages.

    • leisesprecher@feddit.org
      link
      fedilink
      arrow-up
      19
      ·
      2 days ago

      Yep.

      That’s what the RTFM folks don’t seem to understand: if you didn’t even know, what you’re looking for, you can’t look it up.

      • sfxrlz@lemmy.world
        link
        fedilink
        arrow-up
        6
        arrow-down
        1
        ·
        2 days ago

        This in general is the main reason for the ai surge. Just dump the 2 sentence explanation into a prompt and hope something sensible comes from it rather than googling for half an hour.

        • Petter1@lemm.ee
          link
          fedilink
          arrow-up
          4
          ·
          2 days ago

          No, make it like this:

          I have a problem with program x. Please tell me how i do y if I want z. Use this man page for reference:

          [insert man page into promt py copy paste]

          This gives way better results.

          • TangledHyphae@lemmy.world
            link
            fedilink
            arrow-up
            3
            ·
            2 days ago

            Most of the time you don’t have to insert the man page, it’s already baked into the neural network model and filling the context window sometimes gives worse results.

            • DampCanary@lemmy.world
              link
              fedilink
              arrow-up
              5
              ·
              2 days ago

              I noticed that mentioning commands you want gives good results e.g.:

              Hi,
              I want to replace line with HOSTTOOLS += " svn"
              in all layer.conf files under current directory
              by using find and sed commands.

              If it’s more complicated, pasting parial scrript for LLM to finish gave better results (4 me),
              than pure prompt text.

        • leisesprecher@feddit.org
          link
          fedilink
          arrow-up
          3
          ·
          2 days ago

          At least for programming/Linux stuff, it often enough actually does deliver keywords, that you can use as jumping off points. The proposed solutions however…

  • thezeesystem@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    96
    arrow-down
    4
    ·
    3 days ago

    Man pages are for people who already know a lot about Linux and understand all the nuances and understanding of Linux

    Even after using Linux for many many years I still don’t understand wtf nearly all man pages mean. It’s like a fucking codex. It needs to be simplified but not to the extreme where it doesn’t give you information you need to understand it.

    Tbh that’s most of Linux, not designed for average people, designed by Linux users who think that all others should know everything about Linux.

    • wols@lemm.ee
      link
      fedilink
      arrow-up
      15
      ·
      3 days ago

      They also usually assume a lot about the users’ knowledge of the domain of the program itself.

      In my experience, many programs’ man/help is very brief, often a sentence or less per command/flag, with 2 or more terms that don’t mean anything to the uninitiated. Also, even when I think I know all the words, the descriptions are not nearly precise enough to confidently infer what exactly the program is going to do.
      Disclaimers for potentially dangerous/irreversible actions are also often lacking.

      Which is why I almost always look for an article that explains a command using examples, instead of trying to divine what the manual authors had in mind.

    • grrgyle@slrpnk.net
      link
      fedilink
      arrow-up
      10
      ·
      2 days ago

      Tbh a lot of man pages don’t even give you enough usage information to make full use of a package. I’m thinking of the ones which are like an extended --help block

    • Kazumara@discuss.tchncs.de
      link
      fedilink
      arrow-up
      8
      ·
      edit-2
      3 days ago

      l must be using man pages very differently from you. To me they are mostly the easy reference to check the available flags for a command, and sometimes the reference on available config file entries, e.g. ssh_config(5)

      For those things I was using them quite soon when I started using Linux, because it’s quicker than googleing every time if you just need one flag or one option name. For more complex things, like tar-and-gzip in one which needs like four, I still google though.

      Probably there are very complicated ones too, the ones explaining subsystems or APIs of the kernel, but those I don’t need as a user.

      • hendrik@palaver.p3x.de
        link
        fedilink
        English
        arrow-up
        5
        ·
        2 days ago

        I don’t get it either. I can see how you’re getting confused if you end up in section 2 or 3 of the manpages or with the kernel calls. But that’s not what a beginner is looking for. The manpages for the user commands are pretty alright. Sometimes even excellent.

    • InstallGentoo@lemmy.zip
      link
      fedilink
      arrow-up
      2
      ·
      3 days ago

      It depends on who writes them, I guess. More “modern” software come with pretty good and concise manpages, meanwhile stuff like the coreutils still have manpages that feel like an incomprehensible mess.

  • Kusimulkku@lemm.ee
    link
    fedilink
    arrow-up
    56
    ·
    3 days ago

    You ask someone for instructions

    They send you some bullshit 10 minutes long video

    Now instead of ctrl+f or skimming the article and jumping where you want to go you need to jump around in a video

    REEEE

  • psyklax@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    47
    ·
    3 days ago

    You’re not a real linux user unless you’ve read the source because the documentation was inadequate.

  • mlg@lemmy.world
    link
    fedilink
    English
    arrow-up
    57
    arrow-down
    2
    ·
    3 days ago

    “How do I do X in linux?”

    “Yeah so basically you just need to run this command and it should work on Ubuntu 12.10 (Last edited: Nov 2012)”

    “Hey guys the way to do X changed in Ubuntu 16.04, see this updated link (Posted: Jan 2017)”

    “Actually Ubuntu 18.04 is now using Y so you have to follow this new guide (Last edited: Jul 2019)”

    "Crossed-out outdated guide

    For Ubuntu 22, please reference this Canonical guide here. All other distros can simply use Z (Last edited: Aug, 2022)"

    “404 not found (Canonical)”


    “How do I do X in Debian?”

    “You can run Z to do X (Posted: Oct 2013)”

    “Thanks for this, it worked! (Posted: Sep 2023)”


    “How do I do X in Fedora?”

    “Ah just follow this wiki (Posted: Feb 2014)”

    “(Wiki last update: Mar 2023)”


    “How do I do X In Arch?”

    “RTFM lmao: link to arch wiki (Posted: May 2017)”

    “(Wiki last update: 3 minutes ago)”

    • electric_nan
      link
      fedilink
      arrow-up
      15
      ·
      3 days ago

      Did you know you can filter search results by time? When it comes to computer questions in particular, I always ask for results from within the past year.

        • electric_nan
          link
          fedilink
          arrow-up
          3
          ·
          2 days ago

          Then it’s time to expand the date range and/or try other search engines. Sometimes you’re just fucked and you have to make a post.

    • lightnsfw@reddthat.com
      link
      fedilink
      arrow-up
      48
      arrow-down
      1
      ·
      3 days ago

      I just wish they’d put some damn usage examples in there. I usually just need to do one thing I don’t need a dissertation about it.

      • Abnorc@lemm.ee
        link
        fedilink
        arrow-up
        25
        ·
        3 days ago

        Some man pages have them. I agree that they should be more common though.

      • someacnt@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        1
        ·
        2 days ago

        As a CS bachelor, I feel like programmers are not so good at giving examples. They are used to refactoring to cover more general cases. It’s a part that makes me struggle at mathematics the most, because good examples are like half of math.

          • furikuri@programming.dev
            link
            fedilink
            arrow-up
            7
            ·
            2 days ago

            Run info info

            Texinfo pages were originally meant to be a longer alternative to manpages that had support for featureful navigation (links, indexes, etc). They’re nice and I can see a world where they did catch on, but the standard viewer is always a little bit of a shock to jump in to (being based off Emacs and all)

    • ImplyingImplications@lemmy.ca
      link
      fedilink
      arrow-up
      5
      ·
      2 days ago

      Here’s a excerpt from man chmod that can be summarized as “You probably want to mark the file you downloaded as executable. Run chmod +x FILENAME

      DESCRIPTION
      This manual page documents the GNU version of chmod. chmod changes the file mode bits of each given file according to mode, which can be either a symbolic representation of changes to make, or an octal number representing the bit pattern for the new mode bits.

      The format of a symbolic mode is [ugoa…][[-+=][perms…]…], where perms is either zero or more letters from the set rwxXst, or a single letter from the set ugo. Multiple symbolic modes can be given, separated by commas.

      A combination of the letters ugoa controls which users’ access to the file will be changed: the user who owns it (u), other users in the file’s group (g), other users not in the file’s group (o), or all users (a). If none of these are given, the effect is as if (a) were given, but bits that are set in the umask are not affected.

      The operator + causes the selected file mode bits to be added to the existing file mode bits of each file; - causes them to be removed; and = causes them to be added and causes unmentioned bits to be removed except that a directory’s unmentioned set user and group ID bits are not affected.

      The letters rwxXst select file mode bits for the affected users: read ®, write (w), execute (or search for directories) (x), execute/search only if the file is a directory or already has execute permission for some user (X), set user or group ID on execution (s), restricted deletion flag or sticky bit (t). Instead of one or more of these letters, you can specify exactly one of the letters ugo: the permissions granted to the user who owns the file (u), the permissions granted to other users who are members of the file’s group (g), and the permissions granted to users that are in neither of the two preceding categories (o).

      A numeric mode is from one to four octal digits (0-7), derived by adding up the bits with values 4, 2, and 1. Omitted digits are assumed to be leading zeros. The first digit selects the set user ID (4) and set group ID (2) and restricted deletion or sticky (1) attributes. The second digit selects permissions for the user who owns the file: read (4), write (2), and execute (1); the third selects permissions for other users in the file’s group, with the same values; and the fourth for other users not in the file’s group, with the same values.

      chmod doesn’t change the permissions of symbolic links; the chmod system call cannot change their permissions on most systems, and most systems ignore permissions of symbolic links. However, for each symbolic link listed on the command line, chmod changes the permissions of the pointed-to file. In contrast, chmod ignores symbolic links encountered during recursive directory traversals. Options that modify this behavior are described in the OPTIONS section.

      • DreamButt@lemmy.world
        link
        fedilink
        English
        arrow-up
        4
        ·
        2 days ago

        This is a perfect example bc five years ago this would be total gibberish to my fledgling self. But today it’s mostly readable as reference material

    • timbuck2themoon@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      4
      ·
      2 days ago
      cht () {
          curl cht.sh/$1
      }
      

      You can stick this in your .bashrc or .bash_profile. Then just do cht <command to use> and it’ll give you the most relevant info to use the command.

      Ie. cht tar

    • SoulKaribou
      link
      fedilink
      arrow-up
      3
      ·
      2 days ago

      I also like tldr for new commands. Sometimes I discover new ways by using it on the commands I know…