rfkill
Enable and disable wireless devices. More information: <https://manned.org/rfkill>.
Install
- All systems
-
curl cmd.cat/rfkill.sh
- Debian
-
apt-get install rfkill - Ubuntu
-
apt-get install rfkill - Arch Linux
-
pacman -S rfkill - Kali Linux
-
apt-get install rfkill - CentOS
-
yum install rfkill - Fedora
-
dnf install rfkill - Windows (WSL2)
-
sudo apt-get updatesudo apt-get install rfkill - Raspbian
-
apt-get install rfkill
Enable and disable wireless devices. More information: <https://manned.org/rfkill>.
-
List devices:
rfkill -
Filter by columns:
rfkill -o ID,TYPE,DEVICE -
Block devices by type (e.g. bluetooth, wlan):
rfkill block bluetooth -
Unblock devices by type (e.g. bluetooth, wlan):
rfkill unblock wlan -
Output in JSON format:
rfkill -J
© tl;dr; authors and contributors