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 -h, --help
41 Display help text and exit.
42
43 -V, --version
44 Print version 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 DESCRIPTION section. 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 Possible types are all, {wlan | wifi}, bluetooth, {uwb |
60 ultrawideband}, wimax, wwan, gps, fm, nfc.
61
62 block id|type [...]
63 Disable the corresponding device.
64
65 unblock id|type [...]
66 Enable the corresponding device. If the device is hard-blocked, for
67 example via a hardware switch, it will remain unavailable though it
68 is now soft-unblocked.
69
70 toggle id|type [...]
71 Enable or disable the corresponding device.
72
74 rfkill --output ID,TYPE
75 rfkill block all
76 rfkill unblock wlan
77 rfkill block bluetooth uwb wimax wwan gps fm nfc
78
80 rfkill was originally written by Johannes Berg
81 <johannes@sipsolutions.net> and Marcel Holtmann <marcel@holtmann.org>.
82 The code has been later modified by Sami Kerola <kerolasa@iki.fi> and
83 Karel Zak <kzak@redhat.com> for the util-linux project.
84
85 This manual page was written by Darren Salt
86 <linux@youmustbejoking.demon.co.uk> for the Debian project (and may be
87 used by others).
88
90 powertop(8), systemd-rfkill(8), Linux kernel documentation
91 <https://docs.kernel.org/driver-api/rfkill.html>
92
94 For bug reports, use the issue tracker at
95 https://github.com/util-linux/util-linux/issues.
96
98 The rfkill command is part of the util-linux package which can be
99 downloaded from Linux Kernel Archive
100 <https://www.kernel.org/pub/linux/utils/util-linux/>.
101
102
103
104util-linux 2.39.2 2023-06-14 RFKILL(8)