Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rfkill: add page #2502

Merged
merged 3 commits into from
Oct 31, 2018
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
23 changes: 23 additions & 0 deletions pages/linux/rfkill.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# rfkill

> Enable and disable wireless devices.

- List devices:

`rfkill list {{all}}`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should all be in tokens here ? What other values are allowed ?


- Block by type (e.g. bluetooth, wlan):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Block device by type .. " just to be slightly clearer


`rfkill block {{bluetooth}}`

- Unblock by type (e.g. bluetooth, wlan):

`rfkill unblock {{wlan}}`

- Filter by columns:

`rfkill -o {{COL1,COL2,COL3}}`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps a concrete example would be better here?


- Output JSON:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Output in JSON format"


`rfkill -J`