No, that’s not a typo.

  • ☭SaltyIcetea☭@lemmy.ml
    link
    fedilink
    arrow-up
    3
    ·
    3 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

    • Lambda@lemmy.ca
      link
      fedilink
      arrow-up
      2
      ·
      3 years ago

      Wait until you learn about the shell specific /dev “files” like /dev/udp and /dev/tcp (which can send/recv IP traffic as if from a file)!

      • dotfiles@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        3 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)"

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

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