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

    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

    mkoek@mastodon.nlM This user is from outside of this forum
    mkoek@mastodon.nlM This user is from outside of this forum
    mkoek@mastodon.nl
    wrote sidst redigeret af
    #22

    @b0rk I think @bagder would enjoy that compliment 🙂

    1 Reply Last reply
    0
    • thomastc@mastodon.gamedev.placeT thomastc@mastodon.gamedev.place

      @ludonaut @b0rk I had no idea that existed! So useful!

      ludonaut@timetheft.socialL This user is from outside of this forum
      ludonaut@timetheft.socialL This user is from outside of this forum
      ludonaut@timetheft.social
      wrote sidst redigeret af
      #23

      @thomastc @b0rk glad to help 🙂

      i regularly use that page to show the young ones at work why ^H (Ctrl-H) is backspace, ^I is tab and ^[ is literally escape, it's just a flipped bit in ascii (which i suspect is the reason the columns are laid out like that)

      ives@mstdn.socialI 1 Reply Last reply
      0
      • d6@merveilles.townD d6@merveilles.town

        @b0rk it's an uncool example these days but...

        i always really appreciated how `man perl` links to 40+ other man pages that collectively describe the entire language and its standard library and tools. so if you are trying to learn about it everything you need is there and can be browsed or searched for. the prose is fairly engaging and well-written.

        (these days online might make more sense but at the time having it available offline in a very lightweight format that was readable from the terminal was great.)

        P.S. the manual pages are actually produced by perldoc which is also a very cool related tool.

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

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

        mjd@mathstodon.xyzM 1 Reply Last reply
        0
        • arrjay@tacobelllabs.netA arrjay@tacobelllabs.net

          @aredridel @b0rk oh, my favorite there is perllol(1)

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

          @arrjay @aredridel this is awesome, I love `perlcheat`, I've never seen anything like that in a man 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

            nickdumas@fosstodon.orgN This user is from outside of this forum
            nickdumas@fosstodon.orgN This user is from outside of this forum
            nickdumas@fosstodon.org
            wrote sidst redigeret af
            #26

            @b0rk Off the dome, I feel like I remember the man page for find almost always getting me where I needed to go

            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

              asmaloney@fosstodon.orgA This user is from outside of this forum
              asmaloney@fosstodon.orgA This user is from outside of this forum
              asmaloney@fosstodon.org
              wrote sidst redigeret af
              #27

              @b0rk I was always partial to `man man`.

              Great to introduce people to `man` so they can bootstrap their command-line-fu.

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

                @bretthaines the Mac grep man page?

                bretthaines@infosec.exchangeB This user is from outside of this forum
                bretthaines@infosec.exchangeB This user is from outside of this forum
                bretthaines@infosec.exchange
                wrote sidst redigeret af
                #28

                @b0rk yes, my work computer is a mac so that's the one I pull up more often. I forgot the Linux one is different 😅

                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

                  hi@romanzolotarev.comH This user is from outside of this forum
                  hi@romanzolotarev.comH This user is from outside of this forum
                  hi@romanzolotarev.com
                  wrote sidst redigeret af
                  #29
                  man httpd
                  man httpd.conf

                  https://man.openbsd.org
                  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

                    pounce@types.plP This user is from outside of this forum
                    pounce@types.plP This user is from outside of this forum
                    pounce@types.pl
                    wrote sidst redigeret af
                    #30

                    @b0rk i always think hier(7) is really neat

                    b0rk@social.jvns.caB stonebear2@hachyderm.ioS 2 Replies 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

                      nabnux@piaille.frN This user is from outside of this forum
                      nabnux@piaille.frN This user is from outside of this forum
                      nabnux@piaille.fr
                      wrote sidst redigeret af
                      #31

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

                        greenman@diaspodon.frG This user is from outside of this forum
                        greenman@diaspodon.frG This user is from outside of this forum
                        greenman@diaspodon.fr
                        wrote sidst redigeret af
                        #32

                        @b0rk

                        I love the man bash
                        But although the lvm commands man. With useful examples that cover lot of case !

                        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

                          derickr@phpc.socialD This user is from outside of this forum
                          derickr@phpc.socialD This user is from outside of this forum
                          derickr@phpc.social
                          wrote sidst redigeret af
                          #33

                          @b0rk I do like it too, even thought it makes the man page 7195 lines long 😃 .

                          401matthall@mastodon.xyz4 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

                            dertseha@dice.campD This user is from outside of this forum
                            dertseha@dice.campD This user is from outside of this forum
                            dertseha@dice.camp
                            wrote sidst redigeret af
                            #34

                            @b0rk I don't believe to have a favourite. Yet, due to the rule (rather 'tip') "'Select' Isn't Broken", select(2) and the corresponding story behind the tip from the book "Pragmatic Programmer" comes to my mind 🙂

                            1 Reply Last reply
                            0
                            • derickr@phpc.socialD derickr@phpc.social

                              @b0rk I do like it too, even thought it makes the man page 7195 lines long 😃 .

                              401matthall@mastodon.xyz4 This user is from outside of this forum
                              401matthall@mastodon.xyz4 This user is from outside of this forum
                              401matthall@mastodon.xyz
                              wrote sidst redigeret af
                              #35

                              @derickr @b0rk

                              ❤ It's searchable.

                              That makes it alright. 😄

                              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

                                stonebear2@hachyderm.ioS This user is from outside of this forum
                                stonebear2@hachyderm.ioS This user is from outside of this forum
                                stonebear2@hachyderm.io
                                wrote sidst redigeret af
                                #36

                                @b0rk my favourite was an early version of less(1), whose one-line synopsis was:

                                less - better than more(1)

                                Which it was, because you could go _backwards_... that was the first program I ever compiled from downloaded source.

                                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

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

                                  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/?)

                                  merms@mastodon.socialM shnizmuffin@toots.inbutts.lolS adardis@mstdn.socialA 3 Replies 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

                                    kestral@masto.hackers.townK This user is from outside of this forum
                                    kestral@masto.hackers.townK This user is from outside of this forum
                                    kestral@masto.hackers.town
                                    wrote sidst redigeret af
                                    #38

                                    @b0rk it's also my favourite hairstyle

                                    1 Reply Last reply
                                    0
                                    • pounce@types.plP pounce@types.pl

                                      @b0rk i always think hier(7) is really neat

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

                                      @pounce that's cool, I'd never seen that

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

                                        @shnizmuffin what do you like about it? (also: you mean this one right? https://linux.die.net/man/1/rsync)

                                        i like that it takes a different approach to the SYNOPSIS and puts examples before the comprehensive list of all options, I haven't seen that a lot

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

                                        @b0rk It leads with examples from most common to least common, and sorts its many options following similar logic.

                                        It's basically ...

                                        1. WTF am I looking at. (--verbose et al)
                                        2. Sensible defaults (--archive)
                                        3. How do I change one thing (--no-OPTION)
                                        4. Filepath stuff
                                        5. Link stuff
                                        6. Permission stuff
                                        7. File metadata stuff
                                        8. Config stuff
                                        9. Filter stuff
                                        10. Shit one person needed once
                                        11. --human-readable
                                        12. please don't run forever
                                        13. --version, --help

                                        b0rk@social.jvns.caB 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/?)

                                          merms@mastodon.socialM This user is from outside of this forum
                                          merms@mastodon.socialM This user is from outside of this forum
                                          merms@mastodon.social
                                          wrote sidst redigeret af
                                          #41

                                          @b0rk @shnizmuffin if something needs a solid man page, it's probably rsync. 😄

                                          Destroyer of files.
                                          With great power comes great responsibility.

                                          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