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

    xpomul@norden.socialX This user is from outside of this forum
    xpomul@norden.socialX This user is from outside of this forum
    xpomul@norden.social
    wrote last edited by
    #11

    @b0rk I tend to use `curl cheat.sh/<command>` first, and then read the man page if the question is more complex…

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

      adipoeserpursch@troet.cafeA This user is from outside of this forum
      adipoeserpursch@troet.cafeA This user is from outside of this forum
      adipoeserpursch@troet.cafe
      wrote last edited by
      #12

      @b0rk First 'usage' (aka --help), then, if not successful, the man pages.

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

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

        @b0rk it depends somewhat on the program, and somewhat on what I'm trying to find out.

        Man pages are usually good for finding out what an option does, if you already know the name of the option. Not all of them are so good for going in the other direction – if you know _what_ you want to do, and are trying to find out if there's an option that does it, and what it's called. Understandable, because the former is easier to write. But the latter is surely _more_ often what people want!

        (Although not 100%. Reading other people's scripts is a common way to find out the name of an option you didn't know and now have to look up what it does.)

        Usually I'll try --help before the manual, simply because it's likely to be shorter, so it's quicker to look through all the options and pick out the one I'm likely to want. Maybe if anything's still unclear I'll try the man page and hope it goes into more detail. But of course in some cases they do the same thing anyway: 'git foo --help' is no different from 'man git-foo'.

        Of course, if you're starting from some task you want to perform another possibility is that you don't even yet know which _program_ you want to use, in which case a straight-up search engine might be the place to look first, looking for something like a Stack Exchange post that suggests a combination of program and options.

        finity@infosec.exchangeF spv@mastodon.spv.shS 2 Replies 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")

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

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

          bortzmeyer@mastodon.gougere.frB chase@chaos.socialC E phil35@fosstodon.orgP xabean@infosec.exchangeX 76 Replies 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")

            kalfeher@infosec.exchangeK This user is from outside of this forum
            kalfeher@infosec.exchangeK This user is from outside of this forum
            kalfeher@infosec.exchange
            wrote last edited by
            #15

            @b0rk --help first. man page second

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

              bortzmeyer@mastodon.gougere.frB This user is from outside of this forum
              bortzmeyer@mastodon.gougere.frB This user is from outside of this forum
              bortzmeyer@mastodon.gougere.fr
              wrote last edited by
              #16

              @b0rk I typically use -h or --help first, then the man page if necessary.

              dave@rascalking.comD 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")

                chase@chaos.socialC This user is from outside of this forum
                chase@chaos.socialC This user is from outside of this forum
                chase@chaos.social
                wrote last edited by
                #17

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

                  E This user is from outside of this forum
                  E This user is from outside of this forum
                  eigen@mattstodon.panar.ooo
                  wrote last edited by
                  #18

                  @b0rk I voted for man pages first;but I implicitly assumed it was a tool with which I was already familiar; if it were a completely new tool, there's a good chance I'd go web-search-first

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

                    sysedit@mastodon.socialS This user is from outside of this forum
                    sysedit@mastodon.socialS This user is from outside of this forum
                    sysedit@mastodon.social
                    wrote last edited by
                    #19

                    @b0rk Like Kal said. I try -h --help if I am currently in the terminal. If I am in Emacs I first look for an info page and then for a man page.

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

                      phil35@fosstodon.orgP This user is from outside of this forum
                      phil35@fosstodon.orgP This user is from outside of this forum
                      phil35@fosstodon.org
                      wrote last edited by
                      #20

                      @b0rk
                      -First man
                      -Second no more google or any others similar, but https://lumo.proton.me or https://chat.mistral.ai/, more information, easier to use

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

                        xabean@infosec.exchangeX This user is from outside of this forum
                        xabean@infosec.exchangeX This user is from outside of this forum
                        xabean@infosec.exchange
                        wrote last edited by
                        #21

                        @b0rk the most memorable drawback I've run into with online man pages is version differences between what I have installed and what the online man page is.

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

                          ukscone@cupoftea.socialU This user is from outside of this forum
                          ukscone@cupoftea.socialU This user is from outside of this forum
                          ukscone@cupoftea.social
                          wrote last edited by
                          #22

                          @b0rk that's basically what I do. program builtin help then as it's no help Google/other search engine then if i still need to know something hit the man page

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

                            adipoeserpursch@troet.cafeA This user is from outside of this forum
                            adipoeserpursch@troet.cafeA This user is from outside of this forum
                            adipoeserpursch@troet.cafe
                            wrote last edited by
                            #23

                            @b0rk Ah, thanks for the edit. ☺️

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

                              sysedit@mastodon.socialS This user is from outside of this forum
                              sysedit@mastodon.socialS This user is from outside of this forum
                              sysedit@mastodon.social
                              wrote last edited by
                              #24

                              @b0rk I used to do a web search first but with the advent of LLMs I started questioning the authority of some randos on the Internet. So I'll always try official docs first now, then books about the topics and only if it gets desperate I try the source code or everything else.

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

                                vatine@mendeddrum.orgV This user is from outside of this forum
                                vatine@mendeddrum.orgV This user is from outside of this forum
                                vatine@mendeddrum.org
                                wrote last edited by
                                #25

                                @b0rk For me, it is avery very old habit. When I started out poking at Unix systems, if I wanted to "get information from outside the computer I was on", I could, if I was lucky, turn my head and ask someone else in the same room.

                                Otherwise, I would have to fire up a newsreader, post to UseNet, wait for the UUCP spool to empty (over a modem), wait for the reply to be written, then wait for the relevant article to trickle back in a later UUCP update batch.

                                I will, frequently, after having opened the man page, start a web search pretty soon after, because many man pages are badly written (and I must say that good technical writing is a skill that doesn't necessarily correlate with "ability to write code").

                                silvermoon82@wandering.shopS 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")

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

                                  @b0rk
                                  Two things, for me:
                                  * If I'm already using $tool, then "man $tool" seems the most direct way to find what I need to know to use it
                                  * web search sucks and has for a long time now. Google or DDG is just as likely to direct me to slop, or previously to an undated HOWTO that might be 3 versions out of date and from before the tool was rewritten in rust or some other reason to fully change its UX

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

                                    gsuberland@chaos.socialG This user is from outside of this forum
                                    gsuberland@chaos.socialG This user is from outside of this forum
                                    gsuberland@chaos.social
                                    wrote last edited by
                                    #27

                                    @b0rk for some commands I know the manpage is decent and I'll look there. for others I know it doesn't exist or is crap, so I'll check -h or just search online. I sometimes reach for it first on new commands, sometimes not. no real rhyme or reason, mostly just whatever direction my brain goes in the moment.

                                    I do, however, hate certain manpages with a fiery passion. like builtins being one giant manpage that you can't search because it looks for results in all builtin commands. hateful design.

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

                                      ? Offline
                                      ? Offline
                                      Guest
                                      wrote last edited by
                                      #28

                                      @b0rk As others have mentioned, -h first, then man pages.
                                      Some programs are very well documented, so I'd rather check what's immediately available first (and trust the developer), and then only confront the possibly overwhelming, outdated or confusing search engine replies which often take more time and caution to handle

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

                                        flesh@transfem.socialF This user is from outside of this forum
                                        flesh@transfem.socialF This user is from outside of this forum
                                        flesh@transfem.social
                                        wrote last edited by
                                        #29

                                        @b0rk@social.jvns.ca For most tools, it's the first thing I check, but with git, I prefer looking up the online documentation.
                                        Man pages are generally more easily accessed than, say, google, as you can open them directly in the terminal you're already typing in. However, good web pages are much easier for a modern user to navigate than a terminal man page. So it's about how much effort you'd have to spend trying to find the answer on a man page versus how much effort it would take to get to a webpage that answers 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")

                                          karl@infosec.exchangeK This user is from outside of this forum
                                          karl@infosec.exchangeK This user is from outside of this forum
                                          karl@infosec.exchange
                                          wrote last edited by
                                          #30

                                          @b0rk It depends. I use Google first when I try to find the right tool for the job, and those searches usually yield full commands that I can just copy-paste. But a manpage in this case won't help as I don't know what to man.

                                          When I know the right tool, and it's not ffmpeg, I try to craft the correct command myself. That helps me remember it better.

                                          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