How to list bluetooth devices from command line

bashbluetoothcommand lineterminal

I have to list all available bluetooth devices from command line. I tried to google it, but got only results like "how to turn on bluetooth from terminal".

Simply: bluetooth scan

Thanks for help in advance.

Best Answer

Simply typing in:

blued

bluetoothd (Mojave or newer)

Will return a list of paired devices according to to the link key. I don't know how to have it exit cleanly, so to return to the prompt you will need to press Control+c