Files
cheatsheet-tldr/tldr/linux/bluetoothctl

42 lines
689 B
Plaintext

---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# bluetoothctl
> 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`