Forrest logo
back to the rfkill tool

rfkill:tldr:3f2f4

rfkill: Block devices by type (e.g. bluetooth, wlan).
$ rfkill block ${bluetooth}
try on your machine

The command "rfkill block ${bluetooth}" is used to block or disable the Bluetooth interface on a computer or device that supports rfkill.

Here's a breakdown of the command:

  • "rfkill" is a command-line utility used to manage the state of various wireless interfaces, including Bluetooth.
  • "block" is an argument for rfkill instructing it to disable or block a specific wireless interface.
  • "${bluetooth}" is a placeholder or variable that represents the Bluetooth interface. The actual name of the Bluetooth interface can vary depending on the system. This variable is used to dynamically specify the Bluetooth interface name.

So, when this command is executed, the rfkill utility will block or disable the Bluetooth interface, preventing it from transmitting or receiving signals.

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.
back to the rfkill tool