bluetoothctl
Manage Bluetooth devices. More information: <https://bitbucket.org/serkanp/bluetoothctl>.
Install
- All systems
-
curl cmd.cat/bluetoothctl.sh
- Debian
-
apt-get install bluez
- Ubuntu
-
apt-get install bluez
- Alpine
-
apk add bluez
- Arch Linux
-
pacman -S bluez-utils
- Kali Linux
-
apt-get install bluez
- CentOS
-
yum install bluez
- Fedora
-
dnf install bluez
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install bluez
- Raspbian
-
apt-get install bluez
- Dockerfile
- dockerfile.run/bluetoothctl
- Docker
-
docker run cmd.cat/bluetoothctl bluetoothctl
powered by Commando
Manage Bluetooth devices. More information: <https://bitbucket.org/serkanp/bluetoothctl>.
-
Enter the `bluetoothctl` shell:
bluetoothctl
-
List all known devices:
bluetoothctl devices
-
Power the Bluetooth controller on or off:
bluetoothctl power on|off
-
Pair with a device:
bluetoothctl pair mac_address
-
Remove a device:
bluetoothctl remove mac_address
-
Connect to a paired device:
bluetoothctl connect mac_address
-
Disconnect from a paired device:
bluetoothctl disconnect mac_address
-
Display help:
bluetoothctl help
© tl;dr; authors and contributors