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

                                  fernandobasso@mastodon.socialF This user is from outside of this forum
                                  fernandobasso@mastodon.socialF This user is from outside of this forum
                                  fernandobasso@mastodon.social
                                  wrote sidst redigeret af
                                  #67

                                  @b0rk I love `man ascii`.

                                  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

                                    Z This user is from outside of this forum
                                    Z This user is from outside of this forum
                                    zwiebelkern@social.tchncs.de
                                    wrote sidst redigeret af
                                    #68

                                    @b0rk I am actually surprised how many people here don't know https://tldr.sh. Or at least, thats a feeling I had while reading the comments on bad manpages.

                                    `$ tldr tar`

                                    It's a user composed tl;dr; printing out commonly used commands.

                                    And recently I learned from https://youtube.com/@breadonpenguins about cht.sh. Its even better. Simply type `$ curl cht.sh/cups` and you get a awesome cheatsheet covering basic Linux printer things.
                                    It somehow aggregates multiple sources. One of the sources is actually the tldr.sh page.

                                    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

                                      stylus@social.afront.orgS This user is from outside of this forum
                                      stylus@social.afront.orgS This user is from outside of this forum
                                      stylus@social.afront.org
                                      wrote sidst redigeret af
                                      #69

                                      @b0rk My bash_history thinks I've used man gpg the most lately but that is not an endorsement 😭

                                      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

                                        stylus@social.afront.orgS This user is from outside of this forum
                                        stylus@social.afront.orgS This user is from outside of this forum
                                        stylus@social.afront.org
                                        wrote sidst redigeret af
                                        #70

                                        @b0rk I see a sibling mentioned ascii(5). urxvt(7) is a great reference to terminal escape codes, broadly applicable even if it's not the terminal you use. There's probably a better reference but it's the one I know to turn to when I have questions.

                                        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

                                          benpocalypse@mastodon.socialB This user is from outside of this forum
                                          benpocalypse@mastodon.socialB This user is from outside of this forum
                                          benpocalypse@mastodon.social
                                          wrote sidst redigeret af
                                          #71

                                          @b0rk `curl` is heads and shoulders above most other man pages I've read. Also, I have a terrible memory when it comes to curl, so it's always useful.

                                          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