]> git.ipfire.org Git - thirdparty/util-linux.git/blame - sys-utils/rfkill.8.adoc
build-sys: make man pages location independent
[thirdparty/util-linux.git] / sys-utils / rfkill.8.adoc
CommitLineData
295b3979 1//po4a: entry man manual
14179682
MB
2= rfkill(8)
3:doctype: manpage
a09649ca 4:man manual: System Administration
14179682
MB
5:man source: util-linux {release-version}
6:page-layout: base
7:command: rfkill
8
9== NAME
10
11rfkill - tool for enabling and disabling wireless devices
12
13== SYNOPSIS
14
4d297435 15*rfkill* [options] [_command_] [_ID_|_type_ ...]
14179682
MB
16
17== DESCRIPTION
18
19*rfkill* lists, enabling and disabling wireless devices.
20
21The command "list" output format is deprecated and maintained for backward compatibility only. The new output format is the default when no command is specified or when the option *--output* is used.
22
23The default output is subject to change. So whenever possible, you should avoid using default outputs in your scripts. Always explicitly define expected columns by using the *--output* option together with a columns list in environments where a stable output is required.
24
25== OPTIONS
26
27*-J*, *--json*::
4eab78d3 28Use JSON output format.
14179682
MB
29
30*-n*, *--noheadings*::
4eab78d3 31Do not print a header line.
14179682
MB
32
33*-o*, *--output*::
4eab78d3 34Specify which output columns to print. Use *--help* to get a list of available columns.
14179682
MB
35
36*--output-all*::
4eab78d3 37Output all available columns.
14179682
MB
38
39*-r*, *--raw*::
4eab78d3 40Use the raw output format.
14179682
MB
41
42*--help*::
4eab78d3 43Display help text and exit.
14179682
MB
44
45*--version*::
4eab78d3 46Display version information and exit.
14179682
MB
47
48== COMMANDS
49
50*help*::
4eab78d3 51Display help text and exit.
14179682
MB
52
53*event*::
4eab78d3 54Listen for rfkill events and display them on stdout.
14179682
MB
55
56*list* [__id__|_type_ ...]::
4eab78d3 57List the current state of all available devices. The command output format is deprecated, see the section DESCRIPTION. It is a good idea to check with *list* command _id_ or _type_ scope is appropriate before setting *block* or *unblock*. Special _all_ type string will match everything. Use of multiple _ID_ or _type_ arguments is supported.
14179682
MB
58
59**block id**|*type* [...]::
4eab78d3 60Disable the corresponding device.
14179682
MB
61
62**unblock id**|*type* [...]::
4eab78d3 63Enable the corresponding device. If the device is hard-blocked, for example via a hardware switch, it will remain unavailable though it is now soft-unblocked.
14179682 64
69dc8997 65**toggle id**|*type* [...]::
544e64e0 66Enable or disable the corresponding device.
69dc8997 67
14179682
MB
68== EXAMPLE
69....
70 rfkill --output ID,TYPE
71 rfkill block all
72 rfkill unblock wlan
73 rfkill block bluetooth uwb wimax wwan gps fm nfc
74....
75
76== AUTHORS
77
4d297435 78*rfkill* was originally written by mailto:johannes@sipsolutions.net[Johannes Berg] and mailto:marcel@holtmann.org[Marcel Holtmann]. The code has been later modified by mailto:kerolasa@iki.fi[Sami Kerola] and mailto:kzak@redhat.com[Karel Zak] for the util-linux project.
14179682
MB
79
80This manual page was written by mailto:linux@youmustbejoking.demon.co.uk[Darren Salt] for the Debian project (and may be used by others).
81
82== SEE ALSO
83
84*powertop*(8),
85*systemd-rfkill*(8),
86https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/driver-api/rfkill.rst[Linux kernel documentation]
87
625e9c61 88include::man-common/bugreports.adoc[]
14179682 89
625e9c61 90include::man-common/footer.adoc[]
14179682
MB
91
92ifdef::translation[]
625e9c61 93include::man-common/translation.adoc[]
14179682 94endif::[]