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. I love how the Unix commands have such intuitive naming.

I love how the Unix commands have such intuitive naming.

Planlagt Fastgjort Låst Flyttet Ikke-kategoriseret
94 Indlæg 78 Posters 651 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.
  • kamstrup@fosstodon.orgK kamstrup@fosstodon.org

    I love how the Unix commands have such intuitive naming. Like 'find' if you need to find a file, or 'grep' if you need to grep for a string

    js@mastodon.nlJ This user is from outside of this forum
    js@mastodon.nlJ This user is from outside of this forum
    js@mastodon.nl
    wrote sidst redigeret af
    #54

    @kamstrup man if you need some mansplainin

    1 Reply Last reply
    0
    • loadhigh@bitbang.socialL This user is from outside of this forum
      loadhigh@bitbang.socialL This user is from outside of this forum
      loadhigh@bitbang.social
      wrote sidst redigeret af
      #55

      @nschultz @kamstrup cat is my goto tool for when a cat is about to walk on my keyboard, to soak up all the key presses

      That it can also be used to view a file is just feature bloat

      1 Reply Last reply
      0
      • boggin@mastodon.scotB boggin@mastodon.scot

        @khleedril @kamstrup
        $ alias please="sudo"

        Go on, you know you want to.

        imsop@tech.lgbtI This user is from outside of this forum
        imsop@tech.lgbtI This user is from outside of this forum
        imsop@tech.lgbt
        wrote sidst redigeret af
        #56

        @boggin Random tip: make it alias please="sudo " (with a space at the end) and bash will autocomplete commands as the next word (no idea if it works in any other shell)

        1 Reply Last reply
        0
        • tomminieminen@mastodontti.fiT tomminieminen@mastodontti.fi

          @kamstrup On a totally unrelated matter, I love it that in Apple II, `cat` listed files, while in Un*x it echoes their contents.

          _ This user is from outside of this forum
          _ This user is from outside of this forum
          __d@mastodon.social
          wrote sidst redigeret af
          #57

          @tomminieminen @kamstrup catalog vs catenate. The perils of abbreviation (not something UNIX is afraid of).

          1 Reply Last reply
          0
          • cstross@wandering.shopC cstross@wandering.shop

            @annehargreaves @kamstrup Yes, but adduser and useradd came from different parallel universe dialects of unix, it's just that we live in a multiverse that supports crossovers and team-ups

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

            @cstross @annehargreaves @kamstrup Oh yeah, like the good rename command and the bad rename command.

            1 Reply Last reply
            0
            • 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 sidst redigeret af
              #59

              @jay @cstross @annehargreaves @kamstrup also man crontab v.s. man 5 crontab v.s. man 8 crontab "of COURSE 8 means programs and 5 means config"

              graemewinter@mas.toG 1 Reply Last reply
              0
              • kamstrup@fosstodon.orgK kamstrup@fosstodon.org

                I love how the Unix commands have such intuitive naming. Like 'find' if you need to find a file, or 'grep' if you need to grep for a string

                tinysmall_@mastodon.socialT This user is from outside of this forum
                tinysmall_@mastodon.socialT This user is from outside of this forum
                tinysmall_@mastodon.social
                wrote sidst redigeret af
                #60

                @kamstrup e-ll-ing a folders content

                1 Reply Last reply
                0
                • cstross@wandering.shopC cstross@wandering.shop

                  @annehargreaves @kamstrup Yes, but adduser and useradd came from different parallel universe dialects of unix, it's just that we live in a multiverse that supports crossovers and team-ups

                  imsop@tech.lgbtI This user is from outside of this forum
                  imsop@tech.lgbtI This user is from outside of this forum
                  imsop@tech.lgbt
                  wrote sidst redigeret af
                  #61

                  @cstross The masterpiece of that convergence is "ps", where options include both "f" and "-f", with different meanings

                  1 Reply Last reply
                  0
                  • kamstrup@fosstodon.orgK kamstrup@fosstodon.org

                    I love how the Unix commands have such intuitive naming. Like 'find' if you need to find a file, or 'grep' if you need to grep for a string

                    tomseppert@fosstodon.orgT This user is from outside of this forum
                    tomseppert@fosstodon.orgT This user is from outside of this forum
                    tomseppert@fosstodon.org
                    wrote sidst redigeret af
                    #62

                    @kamstrup
                    Like people remember where they were on 9/11, I remember vividly my first "shutdown -h now" on some BSD variant I just installed some 25 years ago.

                    My first non Microsoft install. Felt like magic.

                    1 Reply Last reply
                    0
                    • datn@xoxo.zoneD datn@xoxo.zone

                      @kamstrup so often I found myself wishing to print my regular expressions globally but lacked a pithy and intuitive command. then came --

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

                      @datn @kamstrup
                      I did some research and learned that the double dash delimiter functions as an options terminator. The usage examples I found was e.g. deleting files starting with `-`:
                      `rm -- -r`

                      Could you show an example how the double dash delimiter can improve usage of regex?

                      1 Reply Last reply
                      0
                      • kamstrup@fosstodon.orgK kamstrup@fosstodon.org

                        I love how the Unix commands have such intuitive naming. Like 'find' if you need to find a file, or 'grep' if you need to grep for a string

                        renardboy@mastodon.socialR This user is from outside of this forum
                        renardboy@mastodon.socialR This user is from outside of this forum
                        renardboy@mastodon.social
                        wrote sidst redigeret af
                        #64

                        @kamstrup or fsck when you need to fsck

                        chrisp@cyberplace.socialC 1 Reply Last reply
                        0
                        • angusm@mastodon.socialA This user is from outside of this forum
                          angusm@mastodon.socialA This user is from outside of this forum
                          angusm@mastodon.social
                          wrote sidst redigeret af
                          #65

                          @jay @cstross @annehargreaves @kamstrup The best `man` pages are written to be so opaque that the only people who can understand the `man` page are people who don't need the `man` page because they know it all already.

                          Or possibly because they wrote the `man` page themselves.

                          cstross@wandering.shopC jay@blan.ccJ 2 Replies Last reply
                          0
                          • licho@kolektiva.socialL licho@kolektiva.social

                            @kamstrup and cat if you need a cat

                            S This user is from outside of this forum
                            S This user is from outside of this forum
                            sjcooke66@mastodon.social
                            wrote sidst redigeret af
                            #66

                            @licho @kamstrup I thought 'cat' was the command that led to the Internet being MADE OF CATS🤣

                            1 Reply Last reply
                            0
                            • kamstrup@fosstodon.orgK kamstrup@fosstodon.org

                              I love how the Unix commands have such intuitive naming. Like 'find' if you need to find a file, or 'grep' if you need to grep for a string

                              torf@c.imT This user is from outside of this forum
                              torf@c.imT This user is from outside of this forum
                              torf@c.im
                              wrote sidst redigeret af
                              #67

                              @kamstrup Let alone git and gimp.

                              1 Reply Last reply
                              0
                              • cstross@wandering.shopC cstross@wandering.shop

                                @annehargreaves @kamstrup Yes, but adduser and useradd came from different parallel universe dialects of unix, it's just that we live in a multiverse that supports crossovers and team-ups

                                annehargreaves@ioc.exchangeA This user is from outside of this forum
                                annehargreaves@ioc.exchangeA This user is from outside of this forum
                                annehargreaves@ioc.exchange
                                wrote sidst redigeret af
                                #68

                                @cstross @kamstrup Ah, OK. TIL

                                1 Reply Last reply
                                0
                                • kamstrup@fosstodon.orgK kamstrup@fosstodon.org

                                  I love how the Unix commands have such intuitive naming. Like 'find' if you need to find a file, or 'grep' if you need to grep for a string

                                  argonaut@mastodon.socialA This user is from outside of this forum
                                  argonaut@mastodon.socialA This user is from outside of this forum
                                  argonaut@mastodon.social
                                  wrote sidst redigeret af
                                  #69

                                  @kamstrup
                                  ‘cat’, however, seems not to do what the name implies—which is, indeed, very on brand.

                                  1 Reply Last reply
                                  0
                                  • kamstrup@fosstodon.orgK kamstrup@fosstodon.org

                                    I love how the Unix commands have such intuitive naming. Like 'find' if you need to find a file, or 'grep' if you need to grep for a string

                                    M This user is from outside of this forum
                                    M This user is from outside of this forum
                                    magicmix1@mastodon.social
                                    wrote sidst redigeret af
                                    #70

                                    @kamstrup you chown’d that one.

                                    1 Reply Last reply
                                    0
                                    • xabean@infosec.exchangeX xabean@infosec.exchange

                                      @jay @cstross @annehargreaves @kamstrup also man crontab v.s. man 5 crontab v.s. man 8 crontab "of COURSE 8 means programs and 5 means config"

                                      graemewinter@mas.toG This user is from outside of this forum
                                      graemewinter@mas.toG This user is from outside of this forum
                                      graemewinter@mas.to
                                      wrote sidst redigeret af
                                      #71

                                      @xabean @jay @cstross @annehargreaves @kamstrup old enough to remember system V where you knew which part of man you wanted for system calls, library functions or command line programs

                                      But they were also more gentle times when people were actually paid to write useful documentation and the man pages were actually helpful

                                      1 Reply Last reply
                                      0
                                      • dsw@mastodontech.deD dsw@mastodontech.de

                                        @kamstrup
                                        Actually, you can also use them to tell a short story like:
                                        unzip | strip | touch | finger | grep | mount | fsck | unmount | sleep

                                        edavies@functional.cafeE This user is from outside of this forum
                                        edavies@functional.cafeE This user is from outside of this forum
                                        edavies@functional.cafe
                                        wrote sidst redigeret af
                                        #72

                                        @dsw Except it's “umount” because the mental energy required to remember to leave out the “n” is less than the physical energy required to press just press the damn key, especially on an ASR33. /s

                                        (Actually, last time I made a comment about this I was told that the reason was that very very early Unixes limited command lengths to 6 characters. There are two interpretations of the word “backward” in the phrase “backward compatibility”.)

                                        @kamstrup

                                        dsw@mastodontech.deD 1 Reply Last reply
                                        0
                                        • brouhaha@mastodon.socialB brouhaha@mastodon.social

                                          @kamstrup
                                          Yep! You can't grep dead trees.

                                          jimfl@hachyderm.ioJ This user is from outside of this forum
                                          jimfl@hachyderm.ioJ This user is from outside of this forum
                                          jimfl@hachyderm.io
                                          wrote sidst redigeret af
                                          #73

                                          @brouhaha @kamstrup On the other hand, everything burns, but paper doesn’t crash

                                          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