Forrest logo
back to the rfkill tool

rfkill:tldr:1df3d

rfkill: List devices.
$ rfkill
try on your machine

The "rfkill" command is used to interact with the RF (radio frequency) kill switches on a Linux system. These kill switches can be hardware or software switches that control the wireless devices on a computer, such as Wi-Fi, Bluetooth, or cellular radio.

When you run the "rfkill" command without any arguments, it displays the current status of the wireless devices on your system, including whether they are blocked or unblocked. The output includes information like the device's index, type, name, and its current state.

The "rfkill" command also accepts several options to perform various operations:

  • "rfkill block " or "rfkill block ": This option blocks (disables) the wireless device specified by the index number or type. For example, "rfkill block wifi" blocks the Wi-Fi device, and "rfkill block 0" blocks the device with index 0.

  • "rfkill unblock " or "rfkill unblock ": This option unblocks (enables) the wireless device specified by the index number or type. Similar to blocking, you can unblock a device using its index or type.

  • "rfkill event": This option monitors and displays events related to RF kill switches. It shows information whenever a device's state changes or when a kill switch is toggled.

  • "rfkill list all": This option provides a detailed list of all the wireless devices on your system, including information about their physical and soft blocks. It also displays additional details like the driver names and the capabilities of the devices.

Overall, the "rfkill" command is an essential tool to manage the status of wireless devices and RF kill switches on a Linux system.

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