mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-12 04:54:52 +03:00
28 lines
422 B
Markdown
28 lines
422 B
Markdown
|
# bluetoothctl
|
||
|
|
||
|
> Handling bluetooth devices from the shell.
|
||
|
|
||
|
- Enter the bluetoothctl shell:
|
||
|
|
||
|
`bluetoothctl`
|
||
|
|
||
|
- List devices:
|
||
|
|
||
|
`bluetoothctl -- devices`
|
||
|
|
||
|
- Pair a device:
|
||
|
|
||
|
`bluetoothctl -- pair {{mac_address}}`
|
||
|
|
||
|
- Remove a device:
|
||
|
|
||
|
`bluetoothctl -- remove {{mac_address}}`
|
||
|
|
||
|
- Connect a paired device:
|
||
|
|
||
|
`bluetoothctl -- connect {{mac_address}}`
|
||
|
|
||
|
- Disconnect a paired device:
|
||
|
|
||
|
`bluetoothctl -- disconnect {{mac_address}}`
|