I got one response which told how to output just a bell (without a linefeed) in a portable and not too clumsy way. Namely echo "^G" | tr -d "\012" The rest of the responses mostly were to use `echo -n "^G"' which works ONLY on UCB (whereas I want it to work on both UCB and SV). Thanks to everyone.