rfkill(8) — Linux manual page


RFKILL(8)                 System Administration                RFKILL(8)

NAME         top

       rfkill - tool for enabling and disabling wireless devices

SYNOPSIS         top

       rfkill [options] [command] [ID|type ...]

DESCRIPTION         top

       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.

OPTIONS         top

       -J, --json
           Use JSON output format.

       -n, --noheadings
           Do not print a header line.

       -o, --output
           Specify which output columns to print. Use --help to get a
           list of available columns.

           Output all available columns.

       -r, --raw
           Use the raw output format.

       -h, --help
           Display help text and exit.

       -V, --version
           Print version and exit.

COMMANDS         top

           Display help text and exit.

           Listen for rfkill events and display them on stdout.

       list [id|type ...]
           List the current state of all available devices. The command
           output format is deprecated, see the DESCRIPTION section. 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. Possible types are all, {wlan |
           wifi}, bluetooth, {uwb | ultrawideband}, wimax, wwan, gps,
           fm, nfc.

       block id|type [...]
           Disable the corresponding device.

       unblock id|type [...]
           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.

       toggle id|type [...]
           Enable or disable the corresponding device.

EXAMPLE         top

             rfkill --output ID,TYPE
             rfkill block all
             rfkill unblock wlan
             rfkill block bluetooth uwb wimax wwan gps fm nfc

AUTHORS         top

       rfkill was originally written by Johannes Berg
       <johannes@sipsolutions.net> and Marcel Holtmann
       <marcel@holtmann.org>. The code has been later modified by Sami
       Kerola <kerolasa@iki.fi> and Karel Zak <kzak@redhat.com> for the
       util-linux project.

       This manual page was written by Darren Salt
       <linux@youmustbejoking.demon.co.uk> for the Debian project (and
       may be used by others).

SEE ALSO         top

       powertop(8), systemd-rfkill(8), Linux kernel documentation

REPORTING BUGS         top

       For bug reports, use the issue tracker at

AVAILABILITY         top

       The rfkill command is part of the util-linux package which can be
       downloaded from Linux Kernel Archive
       <https://www.kernel.org/pub/linux/utils/util-linux/>. This page
       is part of the util-linux (a random collection of Linux
       utilities) project. Information about the project can be found at
       ⟨https://www.kernel.org/pub/linux/utils/util-linux/⟩. If you have
       a bug report for this manual page, send it to
       util-linux@vger.kernel.org. This page was obtained from the
       project's upstream Git repository
       ⟨git://git.kernel.org/pub/scm/utils/util-linux/util-linux.git⟩ on
       2023-12-22. (At that time, the date of the most recent commit
       that was found in the repository was 2023-12-14.) If you discover
       any rendering problems in this HTML version of the page, or you
       believe there is a better or more up-to-date source for the page,
       or you have corrections or improvements to the information in
       this COLOPHON (which is not part of the original manual page),
       send a mail to man-pages@man7.org

util-linux 2.39.594-1e0ad      2023-07-19                      RFKILL(8)