OSX Terminal “beep” / “bell” / etc…

via printf


1
 
printf "/a"

or via system afplay


1
 
afplay /System/Library/Sounds/Ping.aiff

or via applescript


1
 
osascript -e 'beep'