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

    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
                        • chase@chaos.socialC chase@chaos.social

                          @b0rk same here. I find man pages quite overwhelming, especially for complex tools. Tldr has also become a go to source for me

                          benjamingeer@piaille.frB This user is from outside of this forum
                          benjamingeer@piaille.frB This user is from outside of this forum
                          benjamingeer@piaille.fr
                          wrote last edited by
                          #100

                          @Chase @b0rk Thanks for mentioning tldr, it looks great

                          1 Reply Last reply
                          0
                          • csgraves@turtleisland.socialC csgraves@turtleisland.social

                            @silvermoon82 @vatine @b0rk where did you find something like that? Seems like a lot of books.

                            silvermoon82@wandering.shopS This user is from outside of this forum
                            silvermoon82@wandering.shopS This user is from outside of this forum
                            silvermoon82@wandering.shop
                            wrote last edited by
                            #101

                            @csgraves @vatine @b0rk
                            My uncle worked for QNX so he had access to handmedown hardware and books.

                            1 Reply Last reply
                            0
                            • poleguy@mastodon.socialP poleguy@mastodon.social

                              @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 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
                              #102

                              @b0rk search engines no longer surface good tutorials, since they focus on surfacing SEO ad content. LLMs (sadly) do a good job of surfacing the types of "answer looking" options because they are not (yet?) able to be biased towards optimizing to produce SEO ad content revenue clicks.

                              But LLMs are not authoritative because they only simulate answers. So it is a two or three step process, requiring checking if there is a human source of trust, or confirming with the man page, etc.

                              1 Reply Last reply
                              0
                              • djfiander@code4lib.socialD djfiander@code4lib.social

                                @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 This user is from outside of this forum
                                sgharms@techhub.socialS This user is from outside of this forum
                                sgharms@techhub.social
                                wrote last edited by
                                #103

                                @djfiander @b0rk and don’t even get me started on GNU texinfo making simple queries suffocate under a gateway drug to RSI viewer (although general props to the depth)

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

                                  gmacon@indieweb.socialG This user is from outside of this forum
                                  gmacon@indieweb.socialG This user is from outside of this forum
                                  gmacon@indieweb.social
                                  wrote last edited by
                                  #104

                                  @b0rk
                                  I said I look at man pages first, but I think you edited the question since I wrote that. For git, rsync, and curl, I typically look at the man page first for "small" things, but to some extent that's specific to those programs. Openssl (maybe new since I saw the poll?) I've learned has unhelpful man pages, so I usually search online first for it.

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

                                    zeigert@mastodon.socialZ This user is from outside of this forum
                                    zeigert@mastodon.socialZ This user is from outside of this forum
                                    zeigert@mastodon.social
                                    wrote last edited by
                                    #105

                                    @b0rk sometimes I get overwhelmed by the wall o’ man page but using slash to search for examples is great. Not all man pages have good example sections though.

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

                                      graves501@fosstodon.orgG This user is from outside of this forum
                                      graves501@fosstodon.orgG This user is from outside of this forum
                                      graves501@fosstodon.org
                                      wrote last edited by
                                      #106

                                      @b0rk I usually am lazy and go through cheatsheets (TLDR, cheat.sh) first to give me a short overview. Usually my usecase is listed 🙂

                                      1 Reply Last reply
                                      0
                                      • simontatham@hachyderm.ioS simontatham@hachyderm.io

                                        @b0rk for me, I think it's a combination of an 'old people' thing and a 'highly suspicious of a lot of the modern Internet' thing.

                                        When I learned to use computers, competent search engines and rich online resources like Stack Exchange were a long way off – even having the Internet in your home without paying per minute wasn't around yet. So you had to develop the skills of finding stuff out from the available local resources like manuals, because that was all you had.

                                        Then good search engines came along, but I was always aware that there's a risk of depending too much on them and losing the ability to figure stuff out yourself. Even now, I sometimes find myself coding without the Internet (or effectively so – laptop on train with terrible connectivity) and it's useful that I can still get things done.

                                        And now search engines are all getting enshittified, and/or monetised, and/or straight-up _worse_ (Google doesn't return the results I actually wanted nearly as often as it used to). And the less said about 2020s answers to this kind of question, the better. So I'm doubly glad I haven't abandoned my old approaches to things. More and more I feel it's important to keep external corporately-provided "do it for you" services at arm's length, and not base your whole workflow on them to the extent that you're a captive market or dependent on them not going down.

                                        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
                                        #107

                                        @simontatham @b0rk Slightly different area, but for programming I’ve had good experiences with devdocs and devdocs.el as long as the programming language has a large standard library and good docs (doesn’t help with third-party libraries).

                                        simontatham@hachyderm.ioS 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")

                                          simagick@freeradical.zoneS This user is from outside of this forum
                                          simagick@freeradical.zoneS This user is from outside of this forum
                                          simagick@freeradical.zone
                                          wrote last edited by
                                          #108

                                          @b0rk It's complicated. Older tools seem to have better man pages, and modern software puts better information on the web.

                                          I'm sort of sad that info pages didn't take off.

                                          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