mirror of https://github.com/CrimsonTome/tldr.git
24 lines
326 B
Markdown
24 lines
326 B
Markdown
# 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`
|