Re: A stand-alone program to ...
Yeah except if you want echo to interpret backslash escape sequences you need to use the -e option (at least on all my Linux machines) so the command needs to be echo -e "\007" though echo -e "\07" works, as does echo -e \\07 which is a even fewer characters. However instead of using random octal why not use \a which is the alert backslash sequence so echo -e \\a is the shortest variant.