Adding bash script examples to documentation

As per https://groups.google.com/forum/?fromgroups=#!topic/jug-users/tdKqblYdryw