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

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

    groxx@hachyderm.ioG This user is from outside of this forum
    groxx@hachyderm.ioG This user is from outside of this forum
    groxx@hachyderm.io
    wrote last edited by
    #55

    @b0rk I search for tools where I already know the man page is unhelpful (either too small or there's just a million options that make a whole language to learn to do basic stuff).

    Which is quite a lot tbh, but I do absolutely start out with the official documentation on practically everything. Answers and mistake-preventions are almost always found in there the quickest, because mistakes consume a ton of time.

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

      scruss@xoxo.zoneS This user is from outside of this forum
      scruss@xoxo.zoneS This user is from outside of this forum
      scruss@xoxo.zone
      wrote last edited by
      #56

      @b0rk I use apropos first to find the manual pages around the subject. If it doesn't turn up anything, I hit the web (or 'apt-cache search' to see if there are packages that might help me)

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

        maxine@hachyderm.ioM This user is from outside of this forum
        maxine@hachyderm.ioM This user is from outside of this forum
        maxine@hachyderm.io
        wrote last edited by
        #57

        @b0rk if I’m already at least a little familiar with a tool, I would much rather look at the man page than search online. But this is partially influenced by the fact thay search got worse, but man pages actually did finally get better.

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

          vitu@bolha.usV This user is from outside of this forum
          vitu@bolha.usV This user is from outside of this forum
          vitu@bolha.us
          wrote last edited by
          #58

          @b0rk voted "other"

          Usually go for tldr. If needed, man page / --help

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

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

            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

            jmax@mastodon.socialJ master_squinter@infosec.exchangeM qkslvrwolf@mastodon.socialQ minkiu@mastodon.socialM ryanparsley@mastodon.socialR 19 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")

              glenjamin@hachyderm.ioG This user is from outside of this forum
              glenjamin@hachyderm.ioG This user is from outside of this forum
              glenjamin@hachyderm.io
              wrote last edited by
              #60

              @b0rk when I happen to know it’s a good one (eg curl) - but I still usually read an online HTML version in my browser anyway

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

                waldo@fediscience.orgW This user is from outside of this forum
                waldo@fediscience.orgW This user is from outside of this forum
                waldo@fediscience.org
                wrote last edited by
                #61

                @b0rk often I'll web search first then if the suggested command has a bunch of parameters I'll check the man page to understand what those all do. I've never felt totally safe trusting that `command -rbSaP` is safe to run lol

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

                  thedarktangent@defcon.socialT This user is from outside of this forum
                  thedarktangent@defcon.socialT This user is from outside of this forum
                  thedarktangent@defcon.social
                  wrote last edited by
                  #62

                  @b0rk ZFS moves pretty quick, and most blogs have a lot of out dated or incorrect wisdom at this point.

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

                    jamesnvc@social.occasionallycogent.comJ This user is from outside of this forum
                    jamesnvc@social.occasionallycogent.comJ This user is from outside of this forum
                    jamesnvc@social.occasionallycogent.com
                    wrote last edited by
                    #63

                    @b0rk for me I suppose it’s 1) context switching; I’d rather stay in the terminal; 2) wanting to be sure I’m looking at the right version (e.g. if I’m on a mac, I have BSD coreutils, search often has results for GNU; and now 3) searching for anything these days is such an exercise in frustration, sorting through a bunch of SEO slop blogs to find something actually relevant

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

                      ajorg@mastodon.socialA This user is from outside of this forum
                      ajorg@mastodon.socialA This user is from outside of this forum
                      ajorg@mastodon.social
                      wrote last edited by
                      #64

                      @b0rk
                      what's trained me not to use man pages is minimal systems where they aren't installed. I always go for --help first.

                      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

                        jmax@mastodon.socialJ This user is from outside of this forum
                        jmax@mastodon.socialJ This user is from outside of this forum
                        jmax@mastodon.social
                        wrote last edited by
                        #65

                        @b0rk I date from the days when man pages were a novelty.

                        If it doesn't have a man page, it isn't finished.

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

                          mikestok@mstdn.caM This user is from outside of this forum
                          mikestok@mstdn.caM This user is from outside of this forum
                          mikestok@mstdn.ca
                          wrote last edited by
                          #66

                          @b0rk it depends on how well I know the tool.

                          If I’m familiar with the tool and its terminology then the man page is where I go after trying g the --help flag or its equivalent.

                          For me they are fine reference material, but I usually end up using a search engine…

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

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

                            @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 ssterling@squawk.socialS gemelen@mammut.moeG 3 Replies Last reply
                            0
                            • simontatham@hachyderm.ioS simontatham@hachyderm.io

                              @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.

                              spv@mastodon.spv.shS This user is from outside of this forum
                              spv@mastodon.spv.shS This user is from outside of this forum
                              spv@mastodon.spv.sh
                              wrote last edited by
                              #68

                              @simontatham @b0rk "... another possibility is that you don't even yet know which _program_ you want to use ..." apropos is your friend, my friend

                              Link Preview Image
                              fcbsd@hachyderm.ioF 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")

                                louisb@mastodon.tetaneutral.netL This user is from outside of this forum
                                louisb@mastodon.tetaneutral.netL This user is from outside of this forum
                                louisb@mastodon.tetaneutral.net
                                wrote last edited by
                                #69

                                I've been scolded way too often by my systems teacher back in the day that I automatically use --help first, then man <command> then, and in a last resort googling for what I'm trying to do

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

                                  @karabaic I've never used openbsd but I'm so curious about the openbsd man page culture because of how people talk about it

                                  do you know if there's anywhere that I can read about the documentation philosophy or about how people relate to it?

                                  kaleissin@wandering.shopK This user is from outside of this forum
                                  kaleissin@wandering.shopK This user is from outside of this forum
                                  kaleissin@wandering.shop
                                  wrote last edited by
                                  #70

                                  @b0rk @karabaic For the BSD's, you kinda expect there to be man-pages. For linux, it's a crap shoot if they exist or not 😞

                                  melroy@mastodon.melroy.orgM 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")

                                    ori@hj.9fs.netO This user is from outside of this forum
                                    ori@hj.9fs.netO This user is from outside of this forum
                                    ori@hj.9fs.net
                                    wrote last edited by
                                    #71
                                    I voted 'first' because it's close enough; it's usually second after '-?'

                                    (-? is not be a valid argument in many programs, but most dump their usage on an invalid argument, and it's easier than typing --help)
                                    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

                                      master_squinter@infosec.exchangeM This user is from outside of this forum
                                      master_squinter@infosec.exchangeM This user is from outside of this forum
                                      master_squinter@infosec.exchange
                                      wrote last edited by
                                      #72

                                      @b0rk
                                      I tend to look for examples close to what I want to do, or tutorials. I would love if man pages were more consistent in giving clear examples for common use cases. This is much easier to parse quickly than detailed explanations.

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

                                        matthieu@mastodon.weber.fi.eu.orgM This user is from outside of this forum
                                        matthieu@mastodon.weber.fi.eu.orgM This user is from outside of this forum
                                        matthieu@mastodon.weber.fi.eu.org
                                        wrote last edited by
                                        #73

                                        @b0rk for rsync, find or ls I use the man page. For ffmpeg or imagemagick I use duck duck go 🙂

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

                                          csgordon@discuss.systemsC This user is from outside of this forum
                                          csgordon@discuss.systemsC This user is from outside of this forum
                                          csgordon@discuss.systems
                                          wrote last edited by
                                          #74

                                          @b0rk my experience is that I can often figure out what I need from the man page in one of 3 ways:
                                          - often the first paragraph(ish) co-workers whatever I was confused about
                                          - the EXAMPLES section (usually near the end) often has exactly the example I'd want
                                          - often searching the man page ('/' to search, 'n' for next result) for keywords finds me what I need (another option) pretty fast

                                          I'm skewed towards this from years of offline computer use (work on trains with crappy/no wifi, though it started with an offline desktop in my room in high school before wifi was a thing), but also reinforced by recent nonsense in both AI summaries and keyword-spamming sites...

                                          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