Skip to content
  • Hjem
  • Seneste
  • Etiketter
  • Populære
  • Verden
  • Bruger
  • Grupper
Temaer
  • 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 (No Skin)
  • No Skin
Kollaps
FARVEL BIG TECH
  1. Forside
  2. Ikke-kategoriseret
  3. do you have a favourite man page?

do you have a favourite man page?

Planlagt Fastgjort Låst Flyttet Ikke-kategoriseret
72 Indlæg 53 Posters 14 Visninger
  • Ældste til nyeste
  • Nyeste til ældste
  • Most Votes
Svar
  • Svar som emne
Login for at svare
Denne tråd er blevet slettet. Kun brugere med emne behandlings privilegier kan se den.
  • nabnux@piaille.frN nabnux@piaille.fr

    @b0rk the one I've used the most is `man bash`, because it's not just a man page, it's the documentation for the whole scripting language!

    technicaladept@techhub.socialT This user is from outside of this forum
    technicaladept@techhub.socialT This user is from outside of this forum
    technicaladept@techhub.social
    wrote sidst redigeret af
    #47

    @nabnux @b0rk many years ago I was told to read man bash. I referenced it many more times over the years. Mostly when scripting loops.

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

      @thatandromeda I have a hard time with them too, that's why I've been thinking about this

      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 sidst redigeret af
      #48

      @b0rk @thatandromeda Often I pipe the output of `man` into `less`, then try to search for something like -n, which returns way too many results (e.g. mentions of that option before its definition). I wonder if a better `man` could be made that would let me search through an *index* of options instead of doing a full-text search.

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

        do you have a favourite man page? thinking of writing a short blog post exploring man pages and what makes a good one and I'd love some more examples

        my contribution: I think it's cool that `man curl` includes an example for every single option

        shanecelis@mastodon.gamedev.placeS This user is from outside of this forum
        shanecelis@mastodon.gamedev.placeS This user is from outside of this forum
        shanecelis@mastodon.gamedev.place
        wrote sidst redigeret af
        #49

        @b0rk Why were example usages shunned by many man pages I'll never understand.

        1 Reply Last reply
        0
        • technicaladept@techhub.socialT technicaladept@techhub.social

          @nabnux @b0rk many years ago I was told to read man bash. I referenced it many more times over the years. Mostly when scripting loops.

          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 sidst redigeret af
          #50

          @technicaladept @nabnux i think for bash specifically I might prefer to use the html bash reference manual to reference the docs https://www.gnu.org/software/bash/manual/bash.html (which I believe has the same content but with better formatting)

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

            I think my favourite man page example so far is this rsync man page (via @shnizmuffin) https://www.man7.org/linux/man-pages/man1/rsync.1.html

            it gives examples BEFORE giving an exhaustive list of options!

            the synopsis just says "rsync [OPTION...] SRC... [DEST]" instead of giving you an exhaustive list of options like "-ABCFGHILOPRSTUWabcdefghiklmnopqrstuvwxy1%"!

            there's an "OPTION SUMMARY" section that gives you a 1-line summary of each option! (this feels SO SO much useful than the normal SYNOPSIS to me)

            (2/?)

            shnizmuffin@toots.inbutts.lolS This user is from outside of this forum
            shnizmuffin@toots.inbutts.lolS This user is from outside of this forum
            shnizmuffin@toots.inbutts.lol
            wrote sidst redigeret af
            #51

            @b0rk Special shout out to the official web address, since it's got hyperlinks on all the options:

            https://download.samba.org/pub/rsync/rsync.1

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

              I think my favourite man page example so far is this rsync man page (via @shnizmuffin) https://www.man7.org/linux/man-pages/man1/rsync.1.html

              it gives examples BEFORE giving an exhaustive list of options!

              the synopsis just says "rsync [OPTION...] SRC... [DEST]" instead of giving you an exhaustive list of options like "-ABCFGHILOPRSTUWabcdefghiklmnopqrstuvwxy1%"!

              there's an "OPTION SUMMARY" section that gives you a 1-line summary of each option! (this feels SO SO much useful than the normal SYNOPSIS to me)

              (2/?)

              adardis@mstdn.socialA This user is from outside of this forum
              adardis@mstdn.socialA This user is from outside of this forum
              adardis@mstdn.social
              wrote sidst redigeret af
              #52

              @b0rk @shnizmuffin Count on Apple to f*ck things up:

              NAME
              openrsync – synchronise local and remote files

              SYNOPSIS
              openrsync [-0468BCDEFHILOPRSTWVabcdefghiklmnopqrtuvxyz] [-e program]
              [-f filter] [--address=sourceaddr] [--append]
              [--backup-dir=directory] [--bwlimit=limit]
              [--cache | --no-cache] [--

              etc.

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

                do you have a favourite man page? thinking of writing a short blog post exploring man pages and what makes a good one and I'd love some more examples

                my contribution: I think it's cool that `man curl` includes an example for every single option

                burnitdown@beige.partyB This user is from outside of this forum
                burnitdown@beige.partyB This user is from outside of this forum
                burnitdown@beige.party
                wrote sidst redigeret af
                #53

                @b0rk

                false (8) is my favourite

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

                  do you have a favourite man page? thinking of writing a short blog post exploring man pages and what makes a good one and I'd love some more examples

                  my contribution: I think it's cool that `man curl` includes an example for every single option

                  kim@social.gfsc.studioK This user is from outside of this forum
                  kim@social.gfsc.studioK This user is from outside of this forum
                  kim@social.gfsc.studio
                  wrote sidst redigeret af
                  #54

                  @b0rk grindr (SORRY)

                  1 Reply Last reply
                  0
                  • zx@chaos.socialZ zx@chaos.social

                    @b0rk

                    I have a soft spot for "man ascii"

                    ednl@mastodon.socialE This user is from outside of this forum
                    ednl@mastodon.socialE This user is from outside of this forum
                    ednl@mastodon.social
                    wrote sidst redigeret af
                    #55

                    @zx @b0rk Neat! Except that the data is in rows instead of columns, that's hard to read. I understand why, it's just a pity; so I'll still keep my ascii table printout taped to the wall 😉

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

                      @d6 this is so cool, I've never looked at this before! makes me want to find out who wrote them.

                      mjd@mathstodon.xyzM This user is from outside of this forum
                      mjd@mathstodon.xyzM This user is from outside of this forum
                      mjd@mathstodon.xyz
                      wrote sidst redigeret af
                      #56

                      @b0rk @d6 A cast of thousands, but I think Larry Wall and Tom Christiansen probably wrote a lot of it.

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

                        do you have a favourite man page? thinking of writing a short blog post exploring man pages and what makes a good one and I'd love some more examples

                        my contribution: I think it's cool that `man curl` includes an example for every single option

                        demiguise@linuxrocks.onlineD This user is from outside of this forum
                        demiguise@linuxrocks.onlineD This user is from outside of this forum
                        demiguise@linuxrocks.online
                        wrote sidst redigeret af
                        #57

                        @b0rk `man man` flashed me recently

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

                          do you have a favourite man page? thinking of writing a short blog post exploring man pages and what makes a good one and I'd love some more examples

                          my contribution: I think it's cool that `man curl` includes an example for every single option

                          gduchaussois@mastodon.xyzG This user is from outside of this forum
                          gduchaussois@mastodon.xyzG This user is from outside of this forum
                          gduchaussois@mastodon.xyz
                          wrote sidst redigeret af
                          #58

                          @b0rk I'm not sure, if I measure it by times I read it, it should be tar, but because of its number of options. Regarding the fun of reading it or the fact I'm confident I will find the information I need, none really qualify

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

                            do you have a favourite man page? thinking of writing a short blog post exploring man pages and what makes a good one and I'd love some more examples

                            my contribution: I think it's cool that `man curl` includes an example for every single option

                            kevindente@mastodon.socialK This user is from outside of this forum
                            kevindente@mastodon.socialK This user is from outside of this forum
                            kevindente@mastodon.social
                            wrote sidst redigeret af
                            #59

                            @b0rk I've always thought the jq man page is quite good. Lots of good examples

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

                              @thatandromeda I have a hard time with them too, that's why I've been thinking about this

                              demiguise@linuxrocks.onlineD This user is from outside of this forum
                              demiguise@linuxrocks.onlineD This user is from outside of this forum
                              demiguise@linuxrocks.online
                              wrote sidst redigeret af
                              #60

                              @b0rk @thatandromeda @fdroidorg has this app: https://f-droid.org/packages/wtf.technodisaster.tldr

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

                                do you have a favourite man page? thinking of writing a short blog post exploring man pages and what makes a good one and I'd love some more examples

                                my contribution: I think it's cool that `man curl` includes an example for every single option

                                wolf480pl@mstdn.ioW This user is from outside of this forum
                                wolf480pl@mstdn.ioW This user is from outside of this forum
                                wolf480pl@mstdn.io
                                wrote sidst redigeret af
                                #61

                                @b0rk
                                I like section 7 in general - it can provide a good overview and tie together many different manpages relevant to a single topic that'd otherwise be hard to track down.

                                If I have to pick one, I guess it's
                                capabilities(7)

                                1 Reply Last reply
                                0
                                • benjamingeer@piaille.frB benjamingeer@piaille.fr

                                  @b0rk @thatandromeda Often I pipe the output of `man` into `less`, then try to search for something like -n, which returns way too many results (e.g. mentions of that option before its definition). I wonder if a better `man` could be made that would let me search through an *index* of options instead of doing a full-text search.

                                  demiguise@linuxrocks.onlineD This user is from outside of this forum
                                  demiguise@linuxrocks.onlineD This user is from outside of this forum
                                  demiguise@linuxrocks.online
                                  wrote sidst redigeret af
                                  #62

                                  @benjamingeer @b0rk @thatandromeda What improved my experience greatly was configuring neovim as man page viewer.

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

                                    do you have a favourite man page? thinking of writing a short blog post exploring man pages and what makes a good one and I'd love some more examples

                                    my contribution: I think it's cool that `man curl` includes an example for every single option

                                    kastasmykolas@river.group.ltK This user is from outside of this forum
                                    kastasmykolas@river.group.ltK This user is from outside of this forum
                                    kastasmykolas@river.group.lt
                                    wrote sidst redigeret af
                                    #63

                                    @b0rk I was particularly surprised and happy seeing a code example in xscreensaver-command man page [1], which showcases the way it (xscreensaver-command -watch) can be integrated into the system doing some dynamic stuff.

                                    Despite it's Perl, which I can barely read, but it looked like a really nice addition.

                                    [1] https://www.jwz.org/xscreensaver/man3.html

                                    kastasmykolas@river.group.ltK 1 Reply Last reply
                                    0
                                    • kastasmykolas@river.group.ltK kastasmykolas@river.group.lt

                                      @b0rk I was particularly surprised and happy seeing a code example in xscreensaver-command man page [1], which showcases the way it (xscreensaver-command -watch) can be integrated into the system doing some dynamic stuff.

                                      Despite it's Perl, which I can barely read, but it looked like a really nice addition.

                                      [1] https://www.jwz.org/xscreensaver/man3.html

                                      kastasmykolas@river.group.ltK This user is from outside of this forum
                                      kastasmykolas@river.group.ltK This user is from outside of this forum
                                      kastasmykolas@river.group.lt
                                      wrote sidst redigeret af
                                      #64

                                      @b0rk also, man ascii [1]. While being in misc category, puts the most important information into few different tables and a list. For more convenient exploration and search, in oct, hex, dec, and char representation. Which... fits everything in a single screen.

                                      [1] https://www.man7.org/linux/man-pages/man7/ascii.7.html

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

                                        do you have a favourite man page? thinking of writing a short blog post exploring man pages and what makes a good one and I'd love some more examples

                                        my contribution: I think it's cool that `man curl` includes an example for every single option

                                        elb@fosstodon.orgE This user is from outside of this forum
                                        elb@fosstodon.orgE This user is from outside of this forum
                                        elb@fosstodon.org
                                        wrote sidst redigeret af
                                        #65

                                        @b0rk Such a great page to point out. We all learn in different ways.

                                        I don't just want to be told how something works. Please _show_ me how it works.

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

                                          do you have a favourite man page? thinking of writing a short blog post exploring man pages and what makes a good one and I'd love some more examples

                                          my contribution: I think it's cool that `man curl` includes an example for every single option

                                          aurisc4@floss.socialA This user is from outside of this forum
                                          aurisc4@floss.socialA This user is from outside of this forum
                                          aurisc4@floss.social
                                          wrote sidst redigeret af
                                          #66

                                          @b0rk my favourite is the one for `true'. I present it as an example of a documented software. Seriously, how many present day software makers would bother documenting such thing?

                                          1 Reply Last reply
                                          0
                                          Svar
                                          • Svar som emne
                                          Login for at svare
                                          • Ældste til nyeste
                                          • Nyeste til ældste
                                          • Most Votes


                                          • Log ind

                                          • Har du ikke en konto? Tilmeld

                                          • Login or register to search.
                                          Powered by NodeBB Contributors
                                          Graciously hosted by data.coop
                                          • First post
                                            Last post
                                          0
                                          • Hjem
                                          • Seneste
                                          • Etiketter
                                          • Populære
                                          • Verden
                                          • Bruger
                                          • Grupper