blueutil is a command-line utility to control Bluetooth on Mac OS X. Its source is available and is public domain. Usage Print bluetooth status: $ blueutil status Status: on Switch bluetooth on: $ blueutil on Switch bluetooth off: $ blueutil off Download blueutil, including source (2010-11-23)