• toynbee@lemmy.world
      link
      fedilink
      arrow-up
      15
      ·
      edit-2
      4 months ago

      Damn, dude. Glad it’s just a joke, but that’s the nerdiest and most circumspect way I’ve ever seen this expressed.

    • redjard@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      3
      ·
      4 months ago

      I type kill -4 $$ all the time so I don’t pollute bash history. It’s probably up there as most typed command in 3rd place after l and cd ...

      I swear I can type the entire thing in 1s flat on a good day.

        • redjard@lemmy.dbzer0.com
          link
          fedilink
          arrow-up
          1
          ·
          5 days ago

          But it saves the command history to disk.
          It makes the exit command redundant, so that is removed from the history, but all other commands in all cases but mistakenly sshing into the wrong machine will still be saved.

      • ppue@lemmy.world
        link
        fedilink
        arrow-up
        5
        ·
        4 months ago

        It is a variable holding the process id of the shell instance interpreting the command. You could say “yourself” instead.