// Put in .bash_profile: growl() { echo -e $'\e]9;'${1}'\007'; return; } // Run with growl "Message here."