• fork bomb: Creates infinite processes, leading to system slowdown or crash.
  • rm -rf --no-preserve-root /: Deletes all files, rendering the system unusable.
  • chmod 777: Grants full access to everyone for a file, creating a security risk.
  • Last@lemmy.worldOP
    link
    fedilink
    English
    arrow-up
    30
    ·
    edit-2
    1 year ago

    Inspired by comments on my last post.

    Early Fork Bomb attempt:

    • A_Very_Big_Fan@lemmy.world
      link
      fedilink
      English
      arrow-up
      9
      ·
      1 year ago

      This one is cooler imo. Even if the label looks like it should be falling off. It looks like it’s about to make infinite of those bubbles if you take the cork out

      • Last@lemmy.worldOP
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        Yeah, I really wanted to see more of this one. That was a good one. Trying to adjust the label changed it too much.

    • Last@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      6
      ·
      edit-2
      1 year ago

      Thanks for the request. I had some time this afternoon to see what DALL-E could come up with and got these.

      There isn’t a single prompt to generate these, like you’d get with other image generators. It’s more like having a conversation with someone. So, I asked it to summarize the conversation we used to make these images, and it provided the following:

      Of course! Here’s a summary of the visualizations we created for the commands:

      1. CURL: The curl command was represented as a pair of shimmering bracelets. When worn, they allowed the user to magically reach out and “fetch” or “pull” distant objects, embodying the essence of the curl command’s functionality.

      2. MAN: The man command was visualized as a grotesque tome bound in flesh, symbolizing the manual or “man pages”. The tome was kept in a chilling sorcerer’s study, emphasizing its vast knowledge and somewhat forbidden nature. The tome was later imprisoned in a cage, and its fleshy cover was designed to evoke a sense of malevolence and the arcane.

      3. LN: The ln command, which creates links, was visualized as magical chains. These chains symbolized both hard and symbolic links. In one variation, the chains connected two floating books in the sorcerer’s library, signifying the concept of linking files.

      4. TOUCH: The touch command, used to create or update files, was represented by a delicate crystal wand. An ethereal hand emerged from the wand, touching the void and materializing a ghostly outline of a blank page, capturing the essence of creating a new, empty file.


      The man command had several stages, and was a lot of fun to work on. Here is what it looked like at each of the previous stages:

  • gronjo45@lemm.ee
    link
    fedilink
    English
    arrow-up
    8
    ·
    1 year ago

    These are absolutely gorgeous… If I had learned with these illustrations, I’d probably have retained some of the more esoteric commands! I’d love to see more of your ideas brought to fruition with these image generator inferences.

    Send me a DM!

    • Last@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      That’s interesting. I’ve been wanting to teach Linux stuff for years but never got around to it. Would anything else have helped?

  • Thelsim@sh.itjust.worksM
    link
    fedilink
    English
    arrow-up
    8
    ·
    1 year ago

    I love how the rm bottle looks like a vortex to a deep dark void. So appropriate for what it does.

  • Arghblarg@lemmy.ca
    link
    fedilink
    English
    arrow-up
    7
    ·
    1 year ago

    I gotta admit those are pretty good. I’d be pretty scared of those potions! (Well except for chmod 777 of course, that’s useful when used responsibly).

  • A_Very_Big_Fan@lemmy.world
    link
    fedilink
    English
    arrow-up
    7
    ·
    1 year ago

    Is there any legit reason to use rm -rf / --no-preserve-root? It seems like it’s mere existence is a security risk lol

    • DarkenLM@kbin.social
      link
      fedilink
      arrow-up
      11
      arrow-down
      1
      ·
      1 year ago

      Linux wanted to be different than Windows and give the user total control. If the user wants to nuke their entire computer, they should be able to.

    • Last@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      6
      ·
      1 year ago

      The--no-preserve-root flag didn’t exist for a long time. It was added to rm because people kept trolling new Linux users on forums who would just run any command you gave them without understanding what they were doing.

    • tal@lemmy.today
      link
      fedilink
      English
      arrow-up
      5
      ·
      1 year ago

      It seems like it’s mere existence is a security risk lol

      Not really. You don’t have the app enforce that, but the OS. Otherwise, I can just go write a program that does the same thing and use that.

    • Last@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      4
      ·
      edit-2
      1 year ago

      I didn’t spend much time setting up the room. I was primarily trying to combine cat and grep to demonstrate the ‘useless use of cat’ initially.

      • Grep: images visualizing the 'grep' command in the context of vast libraries, devoid of natural elements. These visuals emphasize the idea of searching through expansive knowledge.
      • Cat: emphasizing the cat's active role in releasing knowledge from the book. Each image captures the essence of the 'cat' command in an elegant setting.

      This didn’t turn out well, so I considered different commands. Then I remembered the fork bomb. DALL-E 3 provided images of servers exploding, and I responded with ‘no tech’. The subsequent images showed an exploding pond, and I commented: It doesn’t have to be in nature, I just thought computers were way too obvious to include. Avoid advanced technology.

      It responded with “Understood. Let’s try a different approach, avoiding advanced technology but not necessarily sticking to nature. I’ll focus on capturing the overwhelming and rapidly multiplying essence of the fork bomb in a unique setting.”

      Then it gave me that blue potion with the bubbles and some kind of clock.