1RFKILL(8)                    System Administration                   RFKILL(8)
2
3
4

NAME

6       rfkill - tool for enabling and disabling wireless devices
7

SYNOPSIS

9       rfkill [options] [command] [id|type ...]
10
11

DESCRIPTION

13       rfkill lists, enabling and disabling wireless devices.
14
15       The command "list" output format is deprecated and maintained for back‐
16       ward compatibility only. The new output format is the default  when  no
17       command is specified or when the option --output is used.
18
19       The  default  output  is  subject to change.  So whenever possible, you
20       should avoid using default outputs in your scripts.  Always  explicitly
21       define  expected  columns  by using the --output option together with a
22       columns list in environments where a stable output is required.
23
24
25

OPTIONS

27       -J, --json
28              Use JSON output format.
29
30       -n, --noheadings
31              Do not print a header line.
32
33       -o, --output
34              Specify which output columns to print.  Use --help to get a list
35              of available columns.
36
37       --output-all
38              Output all available columns.
39
40       -r, --raw
41              Use the raw output format.
42
43       --help Display help text and exit.
44
45       --version
46              Display version information and exit.
47

COMMANDS

49       help   Display help text and exit.
50
51       event  Listen for rfkill events and display them on stdout.
52
53       list [id|type ...]
54              List  the  current  state of all available devices.  The command
55              output format is deprecated, see the section DESCRIPTION.  It is
56              a  good  idea  to  check  with  list command id or type scope is
57              appropriate before setting block or unblock.  Special  all  type
58              string  will match everything.  Use of multiple id or type argu‐
59              ments is supported.
60
61       block id|type [...]
62              Disable the corresponding device.
63
64       unblock id|type [...]
65              Enable the corresponding device.  If the device is hard-blocked,
66              for  example  via  a hardware switch, it will remain unavailable
67              though it is now soft-unblocked.
68

EXAMPLE

70       rfkill --output ID,TYPE
71       rfkill block all
72       rfkill unblock wlan
73       rfkill block bluetooth uwb wimax wwan gps fm nfc
74

AUTHORS

76       rfkill was originally written by Johannes Berg  ⟨johannes@sipsolutions.
77       net⟩  and  Marcel  Holtmann  ⟨marcel@holtmann.org⟩.   The code has been
78       later modified by Sami Kerola ⟨kerolasa@iki.fi⟩ and  Karel  Zak  ⟨kzak@
79       redhat.com⟩ for util-linux project.
80
81       This  manual  page  was  written by Darren Salt ⟨linux@youmustbejoking.
82       demon.co.uk⟩, for the Debian project (and may be used by others).
83

SEE ALSO

85       powertop(8), systemd-rfkill(8), Linux  kernel  documentation  ⟨https://
86       git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/
87       Documentation/driver-api/rfkill.rst⟩
88

AVAILABILITY

90       The rfkill command is part of the util-linux package and  is  available
91       from   Linux   Kernel  Archive  ⟨https://www.kernel.org/pub/linux/utils
92       /util-linux/⟩.
93
94
95
96util-linux                        2017-07-06                         RFKILL(8)
Impressum