Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Cyborg)
  • No Skin
Collapse
Brand Logo

CIRCLE WITH A DOT

  1. Home
  2. Uncategorized
  3. when do you usually use the man page for a complex command line tool to answer a question you have?

when do you usually use the man page for a complex command line tool to answer a question you have?

Scheduled Pinned Locked Moved Uncategorized
200 Posts 155 Posters 244 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • b0rk@social.jvns.caB b0rk@social.jvns.ca

    when do you usually use the man page for a complex command line tool to answer a question you have? (like git, openssl, rsync, curl, etc)

    (edit: no need to say "i use --help then man")

    chaos_99@fosstodon.orgC This user is from outside of this forum
    chaos_99@fosstodon.orgC This user is from outside of this forum
    chaos_99@fosstodon.org
    wrote last edited by
    #80

    @b0rk I'd say I'd indeed look at the man page first. I've still voted "other", as I immediately turn away if it doesn't give a usage example in the first few lines.
    I need to know if it's the right tool for the job, and only very few man pages declare what it does properly. I often need stackoverflow or blogs for that.
    Then I return regularly to the man page to look up syntax of what I already know is there.

    1 Reply Last reply
    0
    • b0rk@social.jvns.caB b0rk@social.jvns.ca

      i think part of the reason I'm feeling interested in man pages right now even though I rarely use them is that search has gotten so much worse, it's frustrating, and it makes it feel more appealing to have trustworthy sources with clear explanations

      ryanparsley@mastodon.socialR This user is from outside of this forum
      ryanparsley@mastodon.socialR This user is from outside of this forum
      ryanparsley@mastodon.social
      wrote last edited by
      #81

      @b0rk I have a lingering guilt about not going to man pages first, but often a blog post has been better crafted than the friendly manual. Not all manuals but enough to encourage an antipattern in search first.

      I totally agree with your motivation to address/revaluate that.

      b0rk@social.jvns.caB 1 Reply Last reply
      0
      • b0rk@social.jvns.caB b0rk@social.jvns.ca

        i think part of the reason I'm feeling interested in man pages right now even though I rarely use them is that search has gotten so much worse, it's frustrating, and it makes it feel more appealing to have trustworthy sources with clear explanations

        rhold@norden.socialR This user is from outside of this forum
        rhold@norden.socialR This user is from outside of this forum
        rhold@norden.social
        wrote last edited by
        #82

        @b0rk i remember this: when i learned about man and started using it, the stuff i wanted to know usually was on page 5 (quick reference / parameters). But i always forget that so it felt frustrating and abandoned them.

        Instead I use --help command options. I only go to man when i want to learn the full and long version. But sometimes I do.

        1 Reply Last reply
        0
        • b0rk@social.jvns.caB b0rk@social.jvns.ca

          when do you usually use the man page for a complex command line tool to answer a question you have? (like git, openssl, rsync, curl, etc)

          (edit: no need to say "i use --help then man")

          tmcfarlane@toot.communityT This user is from outside of this forum
          tmcfarlane@toot.communityT This user is from outside of this forum
          tmcfarlane@toot.community
          wrote last edited by
          #83

          @b0rk I generally go to `--help` first, and then a man page, often looking for the EXAMPLE section.

          1 Reply Last reply
          0
          • sgharms@techhub.socialS sgharms@techhub.social

            @b0rk using #freebsd and having started on SCO Unix, I’m used to better than average man pages. And I learned sco before the web: so man and Usenet.

            —help is my first stop these days.

            Knowing how to use man means I can work offline too. So practicing that skill when a fallback is present is a worthy investment

            djfiander@code4lib.socialD This user is from outside of this forum
            djfiander@code4lib.socialD This user is from outside of this forum
            djfiander@code4lib.social
            wrote last edited by
            #84

            @sgharms @b0rk Same here. BSD documentation is usually very good, and complex commands usually have examples that cover the common cases.

            Linux man pages, on the other hand, are usually crap.

            sgharms@techhub.socialS 1 Reply Last reply
            0
            • b0rk@social.jvns.caB b0rk@social.jvns.ca

              i think part of the reason I'm feeling interested in man pages right now even though I rarely use them is that search has gotten so much worse, it's frustrating, and it makes it feel more appealing to have trustworthy sources with clear explanations

              sandzwerg@chaos.socialS This user is from outside of this forum
              sandzwerg@chaos.socialS This user is from outside of this forum
              sandzwerg@chaos.social
              wrote last edited by
              #85

              @b0rk usually I'd first look at --help, then web search, then man page. If I know it's a certain option and I just don't remember the name or how to use it it might be --help, man page then web search.

              1 Reply Last reply
              0
              • b0rk@social.jvns.caB b0rk@social.jvns.ca

                i'm very curious about everyone who says "I'd look there first", if I want to figure out how to do something new I think I'll usually google how to do it rather than look at the man page, and then maybe later look at the man page to look up the details

                (I've gotten enough of these answers:
                - "I like that man pages don't require changing context"
                - "with the man page I know I have the right version of the docs")

                kholerik@social.tchncs.deK This user is from outside of this forum
                kholerik@social.tchncs.deK This user is from outside of this forum
                kholerik@social.tchncs.de
                wrote last edited by
                #86

                @b0rk Depends on the tool. You included --help, which I use more often than man. For git I prefer the internet, because it's too complex and I usually need a combination of options. For others I prefer --help or man. Just today I did that for adduser.

                1 Reply Last reply
                0
                • b0rk@social.jvns.caB b0rk@social.jvns.ca

                  i think part of the reason I'm feeling interested in man pages right now even though I rarely use them is that search has gotten so much worse, it's frustrating, and it makes it feel more appealing to have trustworthy sources with clear explanations

                  jssfr@zombofant.netJ This user is from outside of this forum
                  jssfr@zombofant.netJ This user is from outside of this forum
                  jssfr@zombofant.net
                  wrote last edited by
                  #87

                  @b0rk I'm the kind of person who enjoyed reading man pages for leisure.

                  I read through the entirety of the rsync man page to compose my own favourite rsync invocation once.

                  The only tools where I resort to web search are shells, because their man pages are really hard to navigate (finding documentation for `read` in the bash man page is ... a nightmare).

                  Web search is often imprecise and as you note, has gotten so much worse that I am glad I never fully relied on it.

                  1 Reply Last reply
                  0
                  • b0rk@social.jvns.caB b0rk@social.jvns.ca

                    i think part of the reason I'm feeling interested in man pages right now even though I rarely use them is that search has gotten so much worse, it's frustrating, and it makes it feel more appealing to have trustworthy sources with clear explanations

                    enhancedscurry@mastodon.socialE This user is from outside of this forum
                    enhancedscurry@mastodon.socialE This user is from outside of this forum
                    enhancedscurry@mastodon.social
                    wrote last edited by
                    #88

                    @b0rk I gave up on groff so long ago that I forgot to try using an LLM to create a man page from HeaderDoc and Markdown. I'll have to give that a shot sometime.

                    1 Reply Last reply
                    0
                    • b0rk@social.jvns.caB b0rk@social.jvns.ca

                      i'm very curious about everyone who says "I'd look there first", if I want to figure out how to do something new I think I'll usually google how to do it rather than look at the man page, and then maybe later look at the man page to look up the details

                      (I've gotten enough of these answers:
                      - "I like that man pages don't require changing context"
                      - "with the man page I know I have the right version of the docs")

                      massimolauria@mathstodon.xyzM This user is from outside of this forum
                      massimolauria@mathstodon.xyzM This user is from outside of this forum
                      massimolauria@mathstodon.xyz
                      wrote last edited by
                      #89

                      @b0rk I guess if I am doing stuff on the terminal, the terminal it's the first place I look for help, so --help, man pages, and tldr. My gateway drug to Linux was DJGPP on DOS, and I was using quite a lot the info pages there, even a decade before adopting Emacs. I know Info gets a bad rap, and I admittedly not use it anymore, but I liked that it was giving way more information than a man page, often with tutorial like spirit,

                      1 Reply Last reply
                      0
                      • ryanparsley@mastodon.socialR ryanparsley@mastodon.social

                        @b0rk I have a lingering guilt about not going to man pages first, but often a blog post has been better crafted than the friendly manual. Not all manuals but enough to encourage an antipattern in search first.

                        I totally agree with your motivation to address/revaluate that.

                        b0rk@social.jvns.caB This user is from outside of this forum
                        b0rk@social.jvns.caB This user is from outside of this forum
                        b0rk@social.jvns.ca
                        wrote last edited by
                        #90

                        @RyanParsley to be clear for me i'm mostly interested in figuring out if the man pages can become _better_ so that using them is actually a good experience, not accepting a bad experience

                        1 Reply Last reply
                        0
                        • b0rk@social.jvns.caB b0rk@social.jvns.ca

                          i'm very curious about everyone who says "I'd look there first", if I want to figure out how to do something new I think I'll usually google how to do it rather than look at the man page, and then maybe later look at the man page to look up the details

                          (I've gotten enough of these answers:
                          - "I like that man pages don't require changing context"
                          - "with the man page I know I have the right version of the docs")

                          poleguy@mastodon.socialP This user is from outside of this forum
                          poleguy@mastodon.socialP This user is from outside of this forum
                          poleguy@mastodon.social
                          wrote last edited by
                          #91

                          @b0rk For a complex tool I am almost always looking for an example for a non-trivial use case. The man pages are written backwards for this need.

                          If I'm looking at a tutorial and want to understand deeply what each flag means, I'll go to the man page for precise answers.

                          Otherwise I may look at the bottom of the man page for examples. Few man pages have good examples, but they are the useful bits to learn use cases. A focused tutorial: 'tutpage' maybe? Would be better.

                          poleguy@mastodon.socialP 1 Reply Last reply
                          0
                          • b0rk@social.jvns.caB b0rk@social.jvns.ca

                            when do you usually use the man page for a complex command line tool to answer a question you have? (like git, openssl, rsync, curl, etc)

                            (edit: no need to say "i use --help then man")

                            rudi@hachyderm.ioR This user is from outside of this forum
                            rudi@hachyderm.ioR This user is from outside of this forum
                            rudi@hachyderm.io
                            wrote last edited by
                            #92

                            @b0rk “tldr $command” (if I remember I have it installed) and “$command --help”, then manpage since quite a few “modern” tools don’t come with a manpage 😞

                            1 Reply Last reply
                            0
                            • b0rk@social.jvns.caB b0rk@social.jvns.ca

                              i'm very curious about everyone who says "I'd look there first", if I want to figure out how to do something new I think I'll usually google how to do it rather than look at the man page, and then maybe later look at the man page to look up the details

                              (I've gotten enough of these answers:
                              - "I like that man pages don't require changing context"
                              - "with the man page I know I have the right version of the docs")

                              trotfunky@tech.lgbtT This user is from outside of this forum
                              trotfunky@tech.lgbtT This user is from outside of this forum
                              trotfunky@tech.lgbt
                              wrote last edited by
                              #93

                              @b0rk There's a bunch of reasons for me. I think a big one is I want details, I want things to be explained to me, I want to "build the command" myself : (good) man pages seem to do it more often than online searches ?

                              Searching online has become more and more infuriating as well, which doesn't help.

                              Part of it is also "because I'm already here" : if I am already in a terminal, might as well just `man thingy` rather than go to my browser.

                              It also feels much more information dense if I need to have something in split-screen ? Man pages are often quite compact, and splitting my terminal feels like it adds much less space than having the browser's UI+website spacing+ads (I only recently started using an adblocker, I know...)

                              But it's a lot of "feels" rather than very thought out, though I definitely do it even for learning a new tool as well. (SSH options and socat are recent examples)

                              1 Reply Last reply
                              0
                              • b0rk@social.jvns.caB b0rk@social.jvns.ca

                                i think part of the reason I'm feeling interested in man pages right now even though I rarely use them is that search has gotten so much worse, it's frustrating, and it makes it feel more appealing to have trustworthy sources with clear explanations

                                doragasu@mastodon.sdf.orgD This user is from outside of this forum
                                doragasu@mastodon.sdf.orgD This user is from outside of this forum
                                doragasu@mastodon.sdf.org
                                wrote last edited by
                                #94

                                @b0rk I use them a lot when doing C programming to lookout function prototypes and documentation. When using vim, just place the cursor on the function name, hit SHIFT+K (or 2, SHIFT+K or 3, SHIFT+K to go to specific manpage sections) and you are instantly reading the page, really handy.

                                1 Reply Last reply
                                0
                                • minkiu@mastodon.socialM minkiu@mastodon.social

                                  @b0rk I agree with the sentiment, and I think that's why I installed tldr.sh again recently 🥲 granted that's far less in depth that what is provided by the man pages, but examples are concise.

                                  jeromechoo@masto.aiJ This user is from outside of this forum
                                  jeromechoo@masto.aiJ This user is from outside of this forum
                                  jeromechoo@masto.ai
                                  wrote last edited by
                                  #95

                                  @minkiu @b0rk omg this would’ve saved my mind when I was tinkering with tmux which has the worse man page I’ve ever seen.

                                  1 Reply Last reply
                                  0
                                  • sgharms@techhub.socialS sgharms@techhub.social

                                    @b0rk using #freebsd and having started on SCO Unix, I’m used to better than average man pages. And I learned sco before the web: so man and Usenet.

                                    —help is my first stop these days.

                                    Knowing how to use man means I can work offline too. So practicing that skill when a fallback is present is a worthy investment

                                    ssterling@squawk.socialS This user is from outside of this forum
                                    ssterling@squawk.socialS This user is from outside of this forum
                                    ssterling@squawk.social
                                    wrote last edited by
                                    #96

                                    @sgharms @b0rk I daily Linux for my desktop and FreeBSD on my servers. The difference between the quality of the manpages is night and day.

                                    1 Reply Last reply
                                    0
                                    • b0rk@social.jvns.caB b0rk@social.jvns.ca

                                      when do you usually use the man page for a complex command line tool to answer a question you have? (like git, openssl, rsync, curl, etc)

                                      (edit: no need to say "i use --help then man")

                                      ketmorco@fosstodon.orgK This user is from outside of this forum
                                      ketmorco@fosstodon.orgK This user is from outside of this forum
                                      ketmorco@fosstodon.org
                                      wrote last edited by
                                      #97

                                      @b0rk I am hopeful. I will always run -h or --help, and then I will try `man cmd` but ...

                                      I also wrote my GitHub profile as `man wayne`, so...

                                      1 Reply Last reply
                                      0
                                      • b0rk@social.jvns.caB b0rk@social.jvns.ca

                                        i'm very curious about everyone who says "I'd look there first", if I want to figure out how to do something new I think I'll usually google how to do it rather than look at the man page, and then maybe later look at the man page to look up the details

                                        (I've gotten enough of these answers:
                                        - "I like that man pages don't require changing context"
                                        - "with the man page I know I have the right version of the docs")

                                        edolnx@kind.socialE This user is from outside of this forum
                                        edolnx@kind.socialE This user is from outside of this forum
                                        edolnx@kind.social
                                        wrote last edited by
                                        #98

                                        @b0rk for me, it's an old habit. I started in the 90s when these search tools were in their infancy and connections to the Internet were frequently not always on. So relying in man pages and massive books I printed from TLDP were my goto. That still tends to be my preferred starting point.

                                        1 Reply Last reply
                                        0
                                        • b0rk@social.jvns.caB b0rk@social.jvns.ca

                                          @uastronomer when you say "it's pretty obvious why" what do you mean?

                                          (is it that with stack overflow & the internet generally it feels like there's less pressure to have good docs than when they were the only source of information?)

                                          uastronomer@mastodon.monoceros.co.zaU This user is from outside of this forum
                                          uastronomer@mastodon.monoceros.co.zaU This user is from outside of this forum
                                          uastronomer@mastodon.monoceros.co.za
                                          wrote last edited by
                                          #99

                                          @b0rk Hmm. Not so obvious after all, now that you've made me think about it.

                                          I mean that dev teams don't always have the resources or interest in supporting what they might see as "legacy" documentation, especially when they are already expected to put documentation on their website, in github, on discord, or wherever else their community hangs out. This wasn't an option in the old days, but now it is.

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups