mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-03 16:55:13 +00:00
Update cheatsheets
This commit is contained in:
@@ -10,7 +10,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- List all local USB devices and their bus ID's:
|
||||
|
||||
`usbip list --local`
|
||||
`usbip list {{[-l|--local]}}`
|
||||
|
||||
- Start a `usbip` daemon on the server:
|
||||
|
||||
@@ -18,7 +18,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Bind a USB device to `usbip` on the server:
|
||||
|
||||
`sudo usbip bind --busid {{bus_id}}`
|
||||
`sudo usbip bind {{[-b|--busid]}} {{bus_id}}`
|
||||
|
||||
- Load the kernel module required by `usbip` on the client:
|
||||
|
||||
@@ -26,7 +26,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Attach to the `usbip` device on the client (bus ID is the same as on the server):
|
||||
|
||||
`sudo usbip attach -r {{ip_address}} --busid {{bus_id}}`
|
||||
`sudo usbip attach {{[-r|--remote]}} {{ip_address}} {{[-b|--busid]}} {{bus_id}}`
|
||||
|
||||
- List attached devices:
|
||||
|
||||
@@ -34,8 +34,8 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Detach from a device:
|
||||
|
||||
`sudo usbip detach --port {{port}}`
|
||||
`sudo usbip detach {{[-p|--port]}} {{port}}`
|
||||
|
||||
- Unbind a device:
|
||||
|
||||
`usbip unbind --busid {{bus_id}}`
|
||||
`usbip unbind {{[-b|--busid]}} {{bus_id}}`
|
||||
|
||||
Reference in New Issue
Block a user