#!/bin/sh # call me with broadcaster $bcat-ip hello world LOGFILE="./hello.log" echo "Someone called 'hello $1'!" >> "$LOGFILE"