LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

rfkill

Enable and disable wireless devices

TLDR

List devices
$ rfkill
copy
Filter columns
$ rfkill -o ID,TYPE,DEVICE
copy
Block device type
$ rfkill block wifi
copy
Unblock device type
$ rfkill unblock bluetooth
copy
Output JSON
$ rfkill -J
copy

SYNOPSIS

rfkill [OPTIONS] [command] [identifier]

DESCRIPTION

rfkill enables and disables wireless communication devices (WiFi, Bluetooth, GPS, NFC, etc.) through the kernel's rfkill subsystem. It can soft-block devices in software while respecting hardware kill switches.

PARAMETERS

list

List all devices (default action)
block type|id
Disable specified device type or ID
unblock type|id
Enable specified device type or ID
toggle type|id
Toggle the state of device
-o, --output columns
Specify output columns
-J, --json
Output in JSON format
-n, --noheadings
Don't print column headers

INSTALL

sudo apt install rfkill
copy
sudo apk add util-linux-misc
copy

CAVEATS

Hardware kill switches cannot be overridden by software. Blocking may affect multiple devices if they share the same rfkill switch. Some devices may require reboot to fully reset.

HISTORY

rfkill is part of util-linux, providing control over the kernel's rfkill subsystem for wireless devices.

SEE ALSO

iw(8), bluetoothctl(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid