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 242 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.
  • 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
              • 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")

                kalvaro@mastodon.socialK This user is from outside of this forum
                kalvaro@mastodon.socialK This user is from outside of this forum
                kalvaro@mastodon.social
                wrote last edited by
                #109

                @b0rk I sometimes look for the man page in Google, because the interface is nicer and/or system doesn't have man installed (Docker containers).

                1 Reply Last reply
                0
                • rudi@hachyderm.ioR rudi@hachyderm.io

                  @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 This user is from outside of this forum
                  simontatham@hachyderm.ioS This user is from outside of this forum
                  simontatham@hachyderm.io
                  wrote last edited by
                  #110

                  @rudi @b0rk yes, programming languages that have a strong culture of good docs are definitely a plus.

                  Still on the subject of decoupling myself from Internet dependence, I've been working hard on my Rust workflows recently so that I more often use local `cargo doc` or `rustup doc` instead of just going to docs.rs/foo or doc.rust-lang.org/bar. Partly that means I can still consult the docs if the Internet is out of reach, and partly it means I get the version of the docs that matches what I'm actually using.

                  ("Working hard" in the sense that first I had to fix some annoying problems that meant those commands didn't even work for me, like Ubuntu wanted to open the rustdoc output in Abiword, or rustup put its docs somewhere that the apparmor restrictions on snap!Firefox didn't let it read.)

                  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

                    gemelen@mammut.moeG This user is from outside of this forum
                    gemelen@mammut.moeG This user is from outside of this forum
                    gemelen@mammut.moe
                    wrote last edited by
                    #111

                    @sgharms @b0rk
                    Agree, but there is a significant gap in the quality between BSDs, Illumos/Solaris and likely other Unixen mans versus Linux ones, especially in a way to provide a useful usage examples for common use cases.

                    In case of a Limux man I may scroll through pages of options to find nothing on how to combine them correctly, thus I switch to a search engine to get what I need (if I don't have time to experiment).

                    That's why to me Illumos mans are gold, that's why the FreeBSD handbook is _the_ handbook, and so on.

                    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

                      ojrac@mastodon.gamedev.placeO This user is from outside of this forum
                      ojrac@mastodon.gamedev.placeO This user is from outside of this forum
                      ojrac@mastodon.gamedev.place
                      wrote last edited by
                      #112

                      @b0rk so much of my "how do I do..." flow is search based now, whether it's web or cmd --help | grep. Less style search in man pages usually means a lot of misses (too many results, or un-fuzzy search missing relevant ones), and navigation is worse than old gamefaqs .txt guides (with their searchable chapter markers)

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

                        danlyke@researchbuzz.masto.hostD This user is from outside of this forum
                        danlyke@researchbuzz.masto.hostD This user is from outside of this forum
                        danlyke@researchbuzz.masto.host
                        wrote last edited by
                        #113

                        @b0rk the mentioned utilities, mostly man page. ffmpeg? Straight to search.

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

                          erraggy@hachyderm.ioE This user is from outside of this forum
                          erraggy@hachyderm.ioE This user is from outside of this forum
                          erraggy@hachyderm.io
                          wrote last edited by
                          #114

                          I use the `tldr` CLI to get the gist of things first and if more is needed, then I dig into the `man` page for the specifics I need.

                          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

                            rootmoose@mstdn.caR This user is from outside of this forum
                            rootmoose@mstdn.caR This user is from outside of this forum
                            rootmoose@mstdn.ca
                            wrote last edited by
                            #115

                            @b0rk In the beginning there was `man pages` and occasionally an O'Reilly manuscript, and it was good.

                            Then there were blog screeds and sometimes even helpful merchant encyclopediae.

                            Things went well for a few decades and then a great horde of unbridled machines created great data loss and in-place destruction of blog screeds and merchant storefronts.

                            This caused much consternation and confusion for the faithful and created a movement to fight back and shackle the unbridled machines.

                            The old 'tomes of man` persevered and the zealots replicated them and created learning screeds again to spread the word to the masses.

                            And the reference tomes persevered and were considered the source of truth, even for the old ways that weren't rigid in implementation.

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

                              isv_damocles@techhub.socialI This user is from outside of this forum
                              isv_damocles@techhub.socialI This user is from outside of this forum
                              isv_damocles@techhub.social
                              wrote last edited by
                              #116

                              @b0rk I usually check it first and `/` search in there for keywords related to what I want to do, then if I don't see anything useful, I switch to duckduckgo.

                              Basically, I am already in the terminal, and there's a chance that I could find my answer in 5-15 seconds, so I try, and then move on if not.

                              Now, when I have successfully done that for a command before, the next time I have an issue with that command I will waste 15 minutes in the manpage because it was so easy the last time and I shouldn't give up. 😅

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

                                wollman@mastodon.socialW This user is from outside of this forum
                                wollman@mastodon.socialW This user is from outside of this forum
                                wollman@mastodon.social
                                wrote last edited by
                                #117

                                @b0rk The Unix User's/Programmer's Manual is the *reference* documentation, but was never intended to provide introductory guides or conceptual overviews — as originally distributed those were separate documents. The man page should tell you how to do the thing when you already know what you want and that there's a command/function to do it, and you just need the invocation details. Unfortunately the higher level conceptual documentation has fallen by the wayside.

                                wollman@mastodon.socialW 1 Reply Last reply
                                0
                                • gemelen@mammut.moeG gemelen@mammut.moe

                                  @sgharms @b0rk
                                  Agree, but there is a significant gap in the quality between BSDs, Illumos/Solaris and likely other Unixen mans versus Linux ones, especially in a way to provide a useful usage examples for common use cases.

                                  In case of a Limux man I may scroll through pages of options to find nothing on how to combine them correctly, thus I switch to a search engine to get what I need (if I don't have time to experiment).

                                  That's why to me Illumos mans are gold, that's why the FreeBSD handbook is _the_ handbook, and so on.

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

                                  @gemelen @b0rk no disagreement. man quality in Unix is arguing steakhouses versus a Linux fast food shop: some are surprisingly good and others make me question why I didn’t pay a bit to get a better life 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")

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

                                    @b0rk for me I think it’s muscle memory from having learned Linux/BSD in the mid 90s. Web search wasn’t nearly as effective then, so there wasn’t much choice.

                                    That it has worked well enough and doesn’t require context switching to a browser is probably why I still prefer it today.

                                    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

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

                                      also it just occurred to me that the one time I wrote a command line tool (https://rbspy.github.io/) I didn't write a man page for it, I made a documentation website instead. I don't remember even considering writing a man page, probably because I rarely use man pages

                                      (not looking to argue about whether command line tools "should" have man pages or not, just reflecting about how maybe I personally would prefer a good docs website over a man page. Also please no "webpages require internet")

                                      aburka@hachyderm.ioA tartley@fosstodon.orgT emily_s@mastodon.me.ukE gibwar@infosec.exchangeG ednl@mastodon.socialE 11 Replies 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")

                                        R This user is from outside of this forum
                                        R This user is from outside of this forum
                                        rpetre@hachyderm.io
                                        wrote last edited by
                                        #121

                                        @b0rk I personally found that doing a complete read of the manpage of a new tool gives me a fairly good idea of what sort of problem the authors wanted to solve, even if I don't recall specific parameters later. Also whenever i run into a weird command somewhere, I look up what all the flags do, both to understand the subtleties and to "prime the cache", so to speak.

                                        Also-also, at least on Debian, a _lot_ of things have manpages, like file formats or some helper scripts. And they have neat references to one another at the end. It's basically a proto-web.

                                        1 Reply Last reply
                                        0
                                        • wollman@mastodon.socialW wollman@mastodon.social

                                          @b0rk The Unix User's/Programmer's Manual is the *reference* documentation, but was never intended to provide introductory guides or conceptual overviews — as originally distributed those were separate documents. The man page should tell you how to do the thing when you already know what you want and that there's a command/function to do it, and you just need the invocation details. Unfortunately the higher level conceptual documentation has fallen by the wayside.

                                          wollman@mastodon.socialW This user is from outside of this forum
                                          wollman@mastodon.socialW This user is from outside of this forum
                                          wollman@mastodon.social
                                          wrote last edited by
                                          #122

                                          @b0rk The broadening of the programming environment has also taken its toll. The manual covers C and shell programming, but a lot of work today is in different language environments that have their own documentation, some good and some bad. Even in the standard utilities, something like awk or sed is very difficult to learn from the reference manual. Perl at least was always good at making manual pages for every installed package, but they depend on authors to get the information structure down.

                                          b0rk@social.jvns.caB wollman@mastodon.socialW 2 Replies 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