From 201bf8428ed07bed3c8dd33a975a56bcf1db2d41 Mon Sep 17 00:00:00 2001 From: Sacha Bron Date: Wed, 31 Oct 2018 01:15:22 +0100 Subject: [PATCH] rfkill: add page (#2502) --- pages/linux/rfkill.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 pages/linux/rfkill.md diff --git a/pages/linux/rfkill.md b/pages/linux/rfkill.md new file mode 100644 index 000000000..9ecdb7dbf --- /dev/null +++ b/pages/linux/rfkill.md @@ -0,0 +1,23 @@ +# rfkill + +> Enable and disable wireless devices. + +- 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`