or if you're amused by the idea of programming, this should also do the trick: cat << EOF >> foo.c #include<stdio.h> int main() { printf("\a\n"); return 0; } EOF gcc foo.c -o beep Cheers! --A.L.Lambert