Need help writing a bash script for a prank

Discussion in 'OT Technology' started by kdrweez, Aug 28, 2009.

  1. kdrweez

    kdrweez New Member

    Joined:
    Jul 29, 2008
    Messages:
    3,886
    Likes Received:
    0
    So my friend and I are stuck in a hotel waiting to move into a new apartment. We're letting our other friend crash here, but that means he's gotta pay ha ha.

    Last night I set up his Macbook to run SSH, and I logged in and ran "mkfile 149g osx_system" (fill up his HD with a file he'll probably think is ok :rofl:). But it keeps getting f-ed up when he closes his laptop n shit. So I'm wondering if someone can help me write a script that will (at best):

    -find his laptop by it's name on the network
    -run mkfile over and over in smaller increments (like 2gb) so his HD just stays super full whenever he's online

    Thanks for any help guys :naughty:
     
  2. Sexual Vanilla

    Sexual Vanilla New Member

    Joined:
    May 23, 2005
    Messages:
    6,305
    Likes Received:
    0
    Location:
    South Carolina

Share This Page