No, that’s not a typo.

  • SaltyIceteaMaker
    link
    fedilink
    arrow-up
    39
    ·
    2 years ago

    My knowledge about useful/funny /dev files grows by the day…

    I now know of: random & urandom, null, zero and now full…

    Bouta make an infinity gauntlet meme of them

    • DeathByDenim
      link
      fedilink
      arrow-up
      5
      ·
      2 years ago

      The shell script available for download in the Code section is just pure evil!

      • dotfiles@lemmy.world
        link
        fedilink
        arrow-up
        5
        ·
        2 years ago

        The whole website is hilarious. That code finds a random file and deletes it with sudo. I’m gonna run it on a VM :)

        sudo rm -rf "$(sudo find / -type f -print0 | shuf -n1 -z)"

    • PenguinLover
      link
      fedilink
      arrow-up
      1
      ·
      2 years ago

      First time I hear of /dev/null as a service, but I’m already in love with it. That site is amazing and gave me a good laugh.

  • itboss@lemmy.world
    link
    fedilink
    arrow-up
    6
    ·
    2 years ago

    So do you change your scripts to write to that to test what happens if a write didn’t occur?

    • exu@feditown.com
      link
      fedilink
      arrow-up
      1
      ·
      2 years ago

      Yeah, could be used for that. Might not make too much sense in scripts, but definitely a good test for more complex programs that should handle the error instead of just stoppings

  • schmonie@lemmy.sdf.org
    link
    fedilink
    arrow-up
    2
    ·
    2 years ago

    The bottom of that Wikipedia page has a reference to something else that sounded interesting called “/dev/mordor” in some Plan 9 OS fork called 9front. Sent me down a really interesting rabbit hole http://9front.org/