The Enchanted Tavern
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
@JPDev@programming.dev to Programmer Humor@programming.dev • 1 year ago

Always try sudo

programming.dev

message-square
126
fedilink
1.09K

Always try sudo

programming.dev

@JPDev@programming.dev to Programmer Humor@programming.dev • 1 year ago
message-square
126
fedilink
alert-triangle
You must log in or register to comment.
  • @Technus@lemmy.zip
    link
    fedilink
    100•1 year ago
    sudo rm /heart/arteries/**/clot
    
    • @hperrin@lemmy.world
      link
      fedilink
      23•1 year ago

      Isn’t it /dev/heart?

      • @Technus@lemmy.zip
        link
        fedilink
        21•1 year ago

        I feel like if your body follows the Unix filesystem structure, you have a real problem.

        • @KISSmyOS@feddit.org
          cake
          link
          fedilink
          17•1 year ago

          Can I get one of them immutable bodies?

          • MaggiWuerze
            link
            fedilink
            8•1 year ago

            You are now a cygote

          • katy ✨
            link
            fedilink
            6•1 year ago

            you wish to assimilate into the borg?

    • @BleatingZombie@lemmy.world
      link
      fedilink
      19•1 year ago

      Please forgive my ignorance. What does ** do?

      • @gaylord_fartmaster@lemmy.world
        link
        fedilink
        23•1 year ago

        Acts as a wildcard for any directories that exist between arteries and clot.

        • @MonkderDritte@feddit.de
          link
          fedilink
          3•
          edit-2
          1 year ago

          But only in Bash and if settings match. It’s only reliable on your own shell, don’t use it in scripts.

        • @KISSmyOS@feddit.org
          cake
          link
          fedilink
          6•1 year ago

          TIL!

      • mosiacmango
        link
        fedilink
        1•
        edit-2
        1 year ago

        deleted by creator

      • mosiacmango
        link
        fedilink
        6•
        edit-2
        1 year ago

        Had to look this up as well. Its not rm specific:

        * is a simple, non-recursive wildcard representing zero or more characters which you can use for paths and file names. ** is a recursive wildcard that can only be used with paths, not file names.

        More here.

      • @Technus@lemmy.zip
        link
        fedilink
        8•
        edit-2
        1 year ago

        It’s a glob pattern (edit: tried to find a source that actually showed ** in use).

    • AmbiguousProps
      link
      fedilink
      English
      90•1 year ago

      Very important to not hit enter before clot.

      • @Technus@lemmy.zip
        link
        fedilink
        37•1 year ago

        That’s why you have backups.

        • @Trail@lemmy.world
          link
          fedilink
          1•1 year ago

          Or btrfs snapshots.

Programmer Humor@programming.dev

!programmer_humor@programming.dev
Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmer_humor@programming.dev

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
  • 149 users / day
  • 335 users / week
  • 1.31K users / month
  • 4.45K users / 6 months
  • 1 subscriber
  • 1.53K Posts
  • 51.1K Comments
  • Modlog
  • mods:
  • Feyter
  • adr1an
  • @BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne
  • UI: unknown version
  • BE: 0.18.2
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org