rfkill
rfkill is a powerful command line tool in Linux used for managing wireless devices. It allows users to query and alter the status of various radio frequency (RF) components, such as Wi-Fi, Bluetooth, and NFC. The tool provides information about the availability, enabled or disabled state, and blocked or unblocked status of these wireless devices. With rfkill, users can easily enable or disable specific devices, unblock blocked devices, or even simulate the state of hardware buttons. It can be used to troubleshoot connectivity issues, manage power consumption by disabling unused devices, or simply control wireless functionalities. By providing a simple yet versatile interface, rfkill makes it convenient for users to manage and monitor their wireless devices from the command line in Linux.
List of commands for rfkill:
-
rfkill:tldr:06b77 rfkill: Output in JSON format.$ rfkill -Jtry on your machineexplain this command
-
rfkill:tldr:12eff rfkill: Unblock devices by type (e.g. bluetooth, wlan).$ rfkill unblock ${wlan}try on your machineexplain this command
-
rfkill:tldr:3f2f4 rfkill: Block devices by type (e.g. bluetooth, wlan).$ rfkill block ${bluetooth}try on your machineexplain this command
-
rfkill:tldr:a9d6e rfkill: Filter by columns.$ rfkill -o ${ID,TYPE,DEVICE}try on your machineexplain this command