bluetoothctl
Quick Reference
Command Name:
bluetoothctl
Category:
networking
Platform:
Linux
Basic Usage:
Common Use Cases
- 1
Device pairing
Pair Bluetooth devices with your Linux system
- 2
Connection management
Connect, disconnect, and manage paired Bluetooth devices
- 3
Device discovery
Scan for and identify available Bluetooth devices in range
- 4
System configuration
Configure Bluetooth adapter settings like discoverability and name
Syntax
bluetoothctl [command]
Options
Command | Description |
---|---|
help |
Display help for available commands |
show |
Show controller information |
list |
List available controllers |
select [addr] |
Select a specific controller by address |
devices |
List available devices |
paired-devices |
List paired devices |
power [on/off] |
Toggle power on the adapter |
discoverable [on/off] |
Toggle discoverable mode |
pairable [on/off] |
Toggle pairable mode |
scan [on/off] |
Scan for devices |
pair [MAC] |
Pair with device |
trust [MAC] |
Trust device |
untrust [MAC] |
Untrust device |
block [MAC] |
Block device |
unblock [MAC] |
Unblock device |
connect [MAC] |
Connect to device |
disconnect [MAC] |
Disconnect from device |
info [MAC] |
Get device information |
system-alias [name] |
Set the device name |
remove [MAC] |
Remove device |
quit |
Exit interactive mode |
Examples
How to Use These Examples
The examples below show common ways to use the bluetoothctl
command. Try them in your terminal to see the results. You can copy any example by clicking on the code block.
Basic Examples:
# Start the interactive bluetoothctl shell bluetoothctl