Forrest logo
back to the bluetoothctl tool

bluetoothctl:tldr:f047c

bluetoothctl: Enter the `bluetoothctl` shell.
$ bluetoothctl
try on your machine

The "bluetoothctl" command is used to control the Bluetooth functions on a Linux system through the command-line interface.

When you run the "bluetoothctl" command, it opens an interactive shell that allows you to manage Bluetooth devices and services. This shell provides a set of commands that you can use to perform various operations, such as scanning for nearby Bluetooth devices, connecting to devices, pairing, unpairing, and configuring Bluetooth settings.

Once you enter the "bluetoothctl" shell, you can use commands like "power on/off" to turn the Bluetooth hardware on or off, "scan on/off" to start or stop scanning for nearby devices, "pair [device_address]" to initiate the pairing process with a specific device, "trust [device_address]" to mark a device as trusted, "connect [device_address]" to connect to a device, and so on.

Additionally, "bluetoothctl" provides subcommands and options to list available devices, their properties, and supported services, as well as to manage trusted devices and set up specific profiles.

In summary, "bluetoothctl" is a command-line utility that allows you to interact with Bluetooth devices and perform various operations through a command-based interface in Linux systems.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.

Questions that are answered by this command:

  • how to check bluetooth codec?
back to the bluetoothctl tool