carlynorama

the blog

stupid command line tricks

by Carlyn Maw on September 7, 2010, no comments

Step 1: Copy the following into a text file or download the attached, call it hooked

#!/bin/bash# hooked created by Carlyn Maw September 2010say "I"say "cant"say "stop"say "this"say "feeling"say "deep"say "inside"say "of"say "me"

Step 2: Open a window in terminal, type the following

% cd <directory/of/hooked>% chmod 755 hooked

Step 3: Open a second Terminal window, type the following

% while [ 1 ] ; do say -v Ralph "ew guh chaka"; done

Step 4: In the first window type…

% ./hooked

Step 5: Control C in second, ew-guh-window

Welcome to a wasted afternoon…

0 thoughts on “stupid command line tricks

  1. Oh, this works for Mac OS 10.3 and laterhttp://hints.macworld.com/article.php?story=20031113181603909http://developer.apple.com/mac/library/documentation/Darwin/Reference/ManPages/man1/say.1.html