2 .TH RFKILL "8" "2017-07-06" "util-linux" "System Administration"
4 rfkill \- tool for enabling and disabling wireless devices
13 lists, enabling and disabling wireless devices.
15 The command "list" output format is deprecated and maintained for backward
16 compatibility only. The new output format is the default when no command is
17 specified or when the option \fB\-\-output\fR is used.
19 The default output is subject to change. So whenever possible, you should
20 avoid using default outputs in your scripts. Always explicitly define expected
21 columns by using the \fB\-\-output\fR option together with a columns list in
22 environments where a stable output is required.
27 \fB\-J\fR, \fB\-\-json\fR
28 Use JSON output format.
30 \fB\-n\fR, \fB\-\-noheadings\fR
31 Do not print a header line.
33 \fB\-o\fR, \fB\-\-output\fR
34 Specify which output columns to print. Use \-\-help to get a list of
38 Output all available columns.
40 \fB\-r\fR, \fB\-\-raw\fR
41 Use the raw output format.
44 Display help text and exit.
47 Display version information and exit.
51 Display help text and exit.
54 Listen for rfkill events and display them on stdout.
56 \fBlist \fR[\fIid\fR|\fItype\fR ...]
57 List the current state of all available devices. The command output format is deprecated, see the section DESCRIPTION.
58 It is a good idea to check with
62 scope is appropriate before setting
63 .BR block " or " unblock .
66 type string will match everything. Use of multiple
68 arguments is supported.
70 \fBblock \fBid\fR|\fBtype\fR [...]
71 Disable the corresponding device.
73 \fBunblock \fBid\fR|\fBtype\fR [...]
74 Enable the corresponding device. If the device is hard\-blocked, for example
75 via a hardware switch, it will remain unavailable though it is now
78 rfkill --output ID,TYPE
84 rfkill block bluetooth uwb wimax wwan gps fm nfc
87 was originally written by
88 .MT johannes@\:sipsolutions.\:net
92 .MT marcel@\:holtmann.\:org
95 The code has been later modified by
96 .MT kerolasa@\:iki.\:fi
100 .MT kzak@\:redhat.\:com
103 for util-linux project.
105 This manual page was written by
106 .MT linux@\:youmustbejoking.\:demon.\:co.uk
109 for the Debian project (and may be used by others).
112 .BR systemd-rfkill (8),
113 .UR https://\:git.\:kernel.\:org/\:pub/\:scm/\:linux/\:kernel/\:git/\:torvalds/\:linux.git/\:tree/\:Documentation/\:driver-api/\:rfkill.rst
114 Linux kernel documentation
117 The rfkill command is part of the util\-linux package and is available from
118 .UR https://\:www.kernel.org\:/pub\:/linux\:/utils\:/util\-linux/