bluetoothctl
Manage Bluetooth devices. tldr-pages
On Linux
Linux
Enter the bluetoothctl interactive shell
bluetoothctlIdentifyList all known devices
bluetoothctl devicesIdentifyPower the Bluetooth controller on or off
bluetoothctl power onIdentifyScan for available devices for 10 seconds
bluetoothctl --timeout 10 scan onIdentifyPair with a device
bluetoothctl pair mac_addressIdentifyConnect to or disconnect from a paired device
bluetoothctl connect mac_addressIdentifyAllow the device to connect back
bluetoothctl trust mac_addressIdentifyRemove a device
bluetoothctl remove mac_addressIdentify