programming.dev
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Sjmarf@sh.itjust.works to Programmer HumorEnglish · 2 days ago

Oh no! 🤦‍♂️

sh.itjust.works

message-square
51
link
fedilink
931

Oh no! 🤦‍♂️

sh.itjust.works

Sjmarf@sh.itjust.works to Programmer HumorEnglish · 2 days ago
message-square
51
link
fedilink
  • friend_of_satan@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    2 days ago

    deleted by creator

    • floquant@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      29
      ·
      2 days ago

      I don’t understand the eagerness of most people to go nuclear by adding potentially dangerous arguments when not required.

      Use rmdir to remove a directory you expect to be empty, not rm -rf

      • zarkanian@sh.itjust.works
        link
        fedilink
        arrow-up
        1
        ·
        1 day ago

        It’s because they know how to use rm -rf, and they don’t know how to use rmdir. Honestly, I can’t think of a single time I’ve ever successfully removed a directory with rmdir. I always wind up using something else.

    • xav
      link
      fedilink
      arrow-up
      10
      ·
      2 days ago

      In these touchy cases always add ‘-i’ to have a confirmation when doing dangerous things. This will save your ass.

    • Atherel@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      2
      ·
      2 days ago

      why -exec rm when find has a -delete flag?

      • barsoap@lemm.ee
        link
        fedilink
        arrow-up
        4
        ·
        2 days ago

        Is that some new-fangled GNU thing? It’s certainly not POSIX.

        • Atherel@lemmy.dbzer0.com
          link
          fedilink
          arrow-up
          5
          ·
          2 days ago

          Oh, for once the BSD version has more options than the GNU one.

Programmer Humor

programmer_humor

Subscribe from Remote Instance

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: [email protected]

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
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 889 users / day
  • 5.54K users / week
  • 9.24K users / month
  • 18.5K users / 6 months
  • 2.41K local subscribers
  • 23.6K subscribers
  • 1.43K Posts
  • 54.1K Comments
  • Modlog
  • mods:
  • adr1an
  • Feyter
  • BurningTurtle
  • Pierre-Yves Lapersonne
  • BE: 0.19.11
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org