I taught this intermediate command line session at ITP Summer Camp. My goal was to introduce people to the potential of the command line, but doing so in a non-intimidating way using trivial, yet powerful examples.

A couple of my favorite examples:

# 01-hal.sh

function hal {
   open -a "Safari" http://cdn.quotesgram.com/img/39/65/1976467072-hal_9000_quotes.jpg
   say --voice Bruce "I'm sorry Dave. I'm afraid I can't do that"
}
# 03-superbole.js

#!/usr/bin/env node
var superb = require('superb');
var exec = require('child_process').exec;
var growl = require('growl');

var superbole = superb();
//console.log("You are " + superbole);
exec("say you are " + superbole);
growl("You are " + superbole + "!");

Check out the full repo: 10x Command Line Fu

There were LOTS of live demos. I wish you could’ve been there.

10x Command Line Fu from Anthony Bui