rfkill - tool for enabling and disabling wireless devices
rfkill [options] [command] [id|type ...]
rfkill lists, enabling and disabling wireless devices.
The command "list" output format is deprecated and maintained for backward compatibility only. The new output format is the default when no command is specified or when the option --output is used.
The default output is subject to change. So whenever possible, you should avoid using default outputs in your scripts. Always explicitly define expected columns by using the --output option together with a columns list in environments where a stable output is required.
Use JSON output format.
Do not print a header line.
Specify which output columns to print. Use --help to get a list of available columns.
Output all available columns.
Use the raw output format.
Display help text and exit.
Display version information and exit.
Display help text and exit.
Listen for rfkill events and display them on stdout.
List the current state of all available devices. The command output format is deprecated, see the section DESCRIPTION. It is a good idea to check with list command id or type scope is appropriate before setting block or unblock. Special all type string will match everything. Use of multiple id or type arguments is supported.
Disable the corresponding device.
Enable the corresponding device. If the device is hard-blocked, for example via a hardware switch, it will remain unavailable though it is now soft-unblocked.
rfkill --output ID,TYPE
rfkill block all
rfkill unblock wlan
rfkill block bluetooth uwb wimax wwan gps fm nfc
rfkill was originally written by Johannes Berg and Marcel Holtmann. The code has been later modified by Sami Kerola and Karel Zak for util-linux project.
This manual page was written by Darren Salt, for the Debian project (and may be used by others).
powertop(8), systemd-rfkill(8), Linux kernel documentation
The rfkill command is part of the util-linux package and is available from Linux Kernel Archive.