Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • 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
Collapse
Brand Logo

agnos.is Forums

  1. Home
  2. Programmer Humor
  3. Oh no! 🤦‍♂️

Oh no! 🤦‍♂️

Scheduled Pinned Locked Moved Programmer Humor
programmerhumor
46 Posts 39 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • sjmarf@sh.itjust.worksS [email protected]
    This post did not contain any content.
    kittenzrulz123@lemmy.blahaj.zoneK This user is from outside of this forum
    kittenzrulz123@lemmy.blahaj.zoneK This user is from outside of this forum
    [email protected]
    wrote on last edited by
    #5

    It should have done sudo rm -rf /*

    satyrsack@lemmy.sdf.orgS P 2 Replies Last reply
    1
    • F [email protected]

      The "Thought for 2 seconds" and "Stopped thinking" are hilarious to me

      sobriquet@aussie.zoneS This user is from outside of this forum
      sobriquet@aussie.zoneS This user is from outside of this forum
      [email protected]
      wrote on last edited by
      #6

      I kinda thought they were in the wrong order, though: “rm -rf ~/“ should have been after “stopped thinking”.

      A 1 Reply Last reply
      2
      • T [email protected]

        I did this once (for real, but without AI assistance)

        P This user is from outside of this forum
        P This user is from outside of this forum
        [email protected]
        wrote on last edited by
        #7

        Reminds me of the time when I bind mounted my home dir in a chroot, then rm -rfed the chroot when I no longer needed it...

        redjard@lemmy.dbzer0.comR 1 Reply Last reply
        6
        • kittenzrulz123@lemmy.blahaj.zoneK [email protected]

          It should have done sudo rm -rf /*

          satyrsack@lemmy.sdf.orgS This user is from outside of this forum
          satyrsack@lemmy.sdf.orgS This user is from outside of this forum
          [email protected]
          wrote on last edited by
          #8

          For when you want to delete everything in the root directory, but absolutely need to keep the directory itself.

          kittenzrulz123@lemmy.blahaj.zoneK 1 Reply Last reply
          6
          • satyrsack@lemmy.sdf.orgS [email protected]

            For when you want to delete everything in the root directory, but absolutely need to keep the directory itself.

            kittenzrulz123@lemmy.blahaj.zoneK This user is from outside of this forum
            kittenzrulz123@lemmy.blahaj.zoneK This user is from outside of this forum
            [email protected]
            wrote on last edited by
            #9

            Of course :3

            1 Reply Last reply
            1
            • sobriquet@aussie.zoneS [email protected]

              I kinda thought they were in the wrong order, though: “rm -rf ~/“ should have been after “stopped thinking”.

              A This user is from outside of this forum
              A This user is from outside of this forum
              [email protected]
              wrote on last edited by
              #10

              I think it did 'rm -rf ~/' and crashed. Hence the 'stopped thinking'

              1 Reply Last reply
              4
              • sjmarf@sh.itjust.worksS [email protected]
                This post did not contain any content.
                T This user is from outside of this forum
                T This user is from outside of this forum
                [email protected]
                wrote on last edited by
                #11

                Is this assisted suicide?

                1 Reply Last reply
                0
                • sjmarf@sh.itjust.worksS [email protected]
                  This post did not contain any content.
                  S This user is from outside of this forum
                  S This user is from outside of this forum
                  [email protected]
                  wrote on last edited by
                  #12

                  OK I'll bite, how do you get rid of a literal ~ directory?

                  B R L F captain_aggravated@sh.itjust.worksC 7 Replies Last reply
                  6
                  • S [email protected]

                    OK I'll bite, how do you get rid of a literal ~ directory?

                    B This user is from outside of this forum
                    B This user is from outside of this forum
                    [email protected]
                    wrote on last edited by
                    #13

                    Should be \~ in most shells, certainly bash. Use mkdir and rmdir when messing around to prevent accidents.

                    dacotaco@lemmy.worldD 1 Reply Last reply
                    11
                    • T [email protected]

                      I did this once (for real, but without AI assistance)

                      H This user is from outside of this forum
                      H This user is from outside of this forum
                      [email protected]
                      wrote on last edited by
                      #14

                      Same, I didn't realize the directory I was deleting had a symlink to some root directory, at least until my mouse stopped working....

                      M 1 Reply Last reply
                      1
                      • sjmarf@sh.itjust.worksS [email protected]
                        This post did not contain any content.
                        F This user is from outside of this forum
                        F This user is from outside of this forum
                        [email protected]
                        wrote on last edited by [email protected]
                        #15

                        This is why the first thing I did when my company got us an agentic LLM was set up devcontainer.

                        https://containers.dev/

                        1 Reply Last reply
                        5
                        • B [email protected]

                          Should be \~ in most shells, certainly bash. Use mkdir and rmdir when messing around to prevent accidents.

                          dacotaco@lemmy.worldD This user is from outside of this forum
                          dacotaco@lemmy.worldD This user is from outside of this forum
                          [email protected]
                          wrote on last edited by
                          #16

                          Saw this post this morning and was thinking about how to delete it ( while falling back asleep ). Escaping the ~, ofc that'd work! I feel so stupid now haha

                          1 Reply Last reply
                          0
                          • sjmarf@sh.itjust.worksS [email protected]
                            This post did not contain any content.
                            x00z@lemmy.worldX This user is from outside of this forum
                            x00z@lemmy.worldX This user is from outside of this forum
                            [email protected]
                            wrote on last edited by [email protected]
                            #17

                            At least we know vibe coders will eventually destroy themselves.

                            W 1 Reply Last reply
                            20
                            • kittenzrulz123@lemmy.blahaj.zoneK [email protected]

                              It should have done sudo rm -rf /*

                              P This user is from outside of this forum
                              P This user is from outside of this forum
                              [email protected]
                              wrote on last edited by [email protected]
                              #18

                              So. Funny story. Back when I was incredibly new to Linux, I was trying to move everything from my downloads folder to somewhere else. So I navigated into the downloads directory on the command line and sent something like

                              "sudo mv /* ~/misc"

                              when I meant to type

                              "sudo mv ./* ~/misc"

                              Yea... That was a fun learning experience and hilarious way to utterly fuck everything on that machine. Luckily it was just an old laptop I'd installed Linux on to mess around and learn, no real damage done

                              1 Reply Last reply
                              2
                              • S [email protected]

                                OK I'll bite, how do you get rid of a literal ~ directory?

                                R This user is from outside of this forum
                                R This user is from outside of this forum
                                [email protected]
                                wrote on last edited by [email protected]
                                #19

                                prefix with path, and/or quotation

                                1 Reply Last reply
                                1
                                • S [email protected]

                                  OK I'll bite, how do you get rid of a literal ~ directory?

                                  L This user is from outside of this forum
                                  L This user is from outside of this forum
                                  [email protected]
                                  wrote on last edited by
                                  #20

                                  rmdir ./~

                                  1 Reply Last reply
                                  3
                                  • sjmarf@sh.itjust.worksS [email protected]
                                    This post did not contain any content.
                                    scrubbles@poptalk.scrubbles.techS This user is from outside of this forum
                                    scrubbles@poptalk.scrubbles.techS This user is from outside of this forum
                                    [email protected]
                                    wrote on last edited by
                                    #21

                                    We call this a whoopsie daisy.

                                    kinther@lemmy.worldK zarkanian@sh.itjust.worksZ 2 Replies Last reply
                                    2
                                    • sjmarf@sh.itjust.worksS [email protected]
                                      This post did not contain any content.
                                      R This user is from outside of this forum
                                      R This user is from outside of this forum
                                      [email protected]
                                      wrote on last edited by
                                      #22

                                      ctrl-z... ctrl-z....CTRL-Z

                                      1 Reply Last reply
                                      2
                                      • sjmarf@sh.itjust.worksS [email protected]
                                        This post did not contain any content.
                                        M This user is from outside of this forum
                                        M This user is from outside of this forum
                                        [email protected]
                                        wrote on last edited by
                                        #23

                                        Looks like ChatGPT will create more software jobs than it takes.

                                        _ 1 Reply Last reply
                                        24
                                        • sjmarf@sh.itjust.worksS [email protected]
                                          This post did not contain any content.
                                          M This user is from outside of this forum
                                          M This user is from outside of this forum
                                          [email protected]
                                          wrote on last edited by
                                          #24

                                          Same energy as Republican memes

                                          1 Reply Last reply
                                          1
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups