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       -r, --raw
38              Use the raw output format.
39
40       --help Display help text and exit.
41
42       --version
43              Display version information and exit.
44

COMMANDS

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

EXAMPLES

67       rfkill --output ID,TYPE
68       rfkill block all
69       rfkill unblock wlan
70       rfkill block bluetooth uwb wimax wwan gps fm nfc
71

AUTHORS

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

SEE ALSO

82       powertop(8), systemd-rfkill(8), Linux  kernel  documentation  ⟨https://
83       git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/
84       Documentation/rfkill.txt⟩
85

AVAILABILITY

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