Enable and disable wireless devices. - rfkill

Enable and disable wireless devices. More information: rfkill - manned.org.

  • 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