1RFKILL(8) System Administration RFKILL(8)
2
3
4
6 rfkill - tool for enabling and disabling wireless devices
7
9 rfkill [options] [command] [ID|type ...]
10
12 rfkill lists, enabling and disabling wireless devices.
13
14 The command "list" output format is deprecated and maintained for
15 backward compatibility only. The new output format is the default when
16 no command is specified or when the option --output is used.
17
18 The default output is subject to change. So whenever possible, you
19 should avoid using default outputs in your scripts. Always explicitly
20 define expected columns by using the --output option together with a
21 columns list in environments where a stable output is required.
22
24 -J, --json
25 Use JSON output format.
26
27 -n, --noheadings
28 Do not print a header line.
29
30 -o, --output
31 Specify which output columns to print. Use --help to get a list of
32 available columns.
33
34 --output-all
35 Output all available columns.
36
37 -r, --raw
38 Use the raw output format.
39
40 --help
41 Display help text and exit.
42
43 --version
44 Display version information and exit.
45
47 help
48 Display help text and exit.
49
50 event
51 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 output
55 format is deprecated, see the section DESCRIPTION. It is a good
56 idea to check with list command id or type scope is appropriate
57 before setting block or unblock. Special all type string will match
58 everything. Use of multiple ID or type arguments is supported.
59
60 block id|type [...]
61 Disable the corresponding device.
62
63 unblock id|type [...]
64 Enable the corresponding device. If the device is hard-blocked, for
65 example via a hardware switch, it will remain unavailable though it
66 is now soft-unblocked.
67
68 toggle id|type [...]
69 Enable or disable the corresponding device.
70
72 rfkill --output ID,TYPE
73 rfkill block all
74 rfkill unblock wlan
75 rfkill block bluetooth uwb wimax wwan gps fm nfc
76
78 rfkill was originally written by Johannes Berg
79 <johannes@sipsolutions.net> and Marcel Holtmann <marcel@holtmann.org>.
80 The code has been later modified by Sami Kerola <kerolasa@iki.fi> and
81 Karel Zak <kzak@redhat.com> for the util-linux project.
82
83 This manual page was written by Darren Salt
84 <linux@youmustbejoking.demon.co.uk> for the Debian project (and may be
85 used by others).
86
88 powertop(8), systemd-rfkill(8), Linux kernel documentation
89 <https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/driver-api/rfkill.rst>
90
92 For bug reports, use the issue tracker at
93 https://github.com/karelzak/util-linux/issues.
94
96 The rfkill command is part of the util-linux package which can be
97 downloaded from Linux Kernel Archive
98 <https://www.kernel.org/pub/linux/utils/util-linux/>.
99
100
101
102util-linux 2.37.2 2021-06-02 RFKILL(8)