No, that’s not a typo.

  • SaltyIceteaMaker
    link
    fedilink
    321 year 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

      • @marswarrior
        link
        6
        edit-2
        1 year 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)"

        edit: nothing bad happened. VM still works fine. gonna run it a few dozen times more and see. or put in a while loop, or a cron job every 5 seconds. lol. I wonder how long it will take for it to delete something important.

    • @demonsword
      link
      11 year ago

      I had a good laugh, thanks for sharing :)

  • @[email protected]
    link
    fedilink
    91 year ago

    Maybe I can finally get my pull merged for /dev/grohl which just outputs random Foo Fighters lyrics.

  • @itboss
    link
    51 year ago

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

    • exu
      link
      fedilink
      11 year 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

  • @Arinshot
    link
    41 year ago

    I knew about /dev/null, but not /dev/full, that is good to know about thanks!

  • ozoned
    link
    fedilink
    11 year ago

    I NEVER knew this! That’s awesome! Thank you! :-D

  • @[email protected]
    link
    fedilink
    11 year 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/

    • thedæmon
      link
      fedilink
      21 year ago

      9front is a great rabbit hole. Plus, Plan9’s mascot is Glenda, the rabbit.