Files
tldr/pages.zh/linux/rfkill.md

24 lines
400 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# rfkill
> 启用和禁用无线设备。
> 更多信息:<https://manned.org/rfkill>。
- 列出设备:
`rfkill`
- 按列过滤:
`rfkill -o {{ID,TYPE,DEVICE}}`
- 按类型阻止设备(例如蓝牙、无线局域网):
`rfkill block {{bluetooth}}`
- 按类型解除阻止设备(例如蓝牙、无线局域网):
`rfkill unblock {{wlan}}`
- 以JSON格式输出
`rfkill -J`