#!/bin/bash # saved as sos.sh # source: blinux-list at leb.net/blinux SEVERITY_PITCH=${1:-440} DOT=100 DASH=500 DELAY=25 beep -f $SEVERITY_PITCH -l $DOT -r 3 -d $DELAY beep -f $SEVERITY_PITCH -l $DASH -r 3 -d $DELAY beep -f $SEVERITY_PITCH -l $DOT -r 3 -d $DELAY # call script with: sos.sh 880 # for a high-C and with no parameter for a concert C (440, IIUC) # The hotter your processor, the higher-pitched you could make this.