mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-14 16:48:32 +00:00
Update cheatsheets
This commit is contained in:
@@ -10,19 +10,19 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Open a given serial port:
|
||||
|
||||
`sudo cu --line {{/dev/ttyXYZ}}`
|
||||
`sudo cu {{[-l|--line]}} {{/dev/ttyXYZ}}`
|
||||
|
||||
- Open a given serial port with a given baud rate:
|
||||
|
||||
`sudo cu --line {{/dev/ttyXYZ}} --speed {{115200}}`
|
||||
`sudo cu {{[-l|--line]}} {{/dev/ttyXYZ}} {{[-s|--speed]}} {{115200}}`
|
||||
|
||||
- Open a given serial port with a given baud rate and echo characters locally (half-duplex mode):
|
||||
|
||||
`sudo cu --line {{/dev/ttyXYZ}} --speed {{115200}} --halfduplex`
|
||||
`sudo cu {{[-l|--line]}} {{/dev/ttyXYZ}} {{[-s|--speed]}} {{115200}} {{[-h|--halfduplex]}}`
|
||||
|
||||
- Open a given serial port with a given baud rate, parity, and no hardware or software flow control:
|
||||
|
||||
`sudo cu --line {{/dev/ttyXYZ}} --speed {{115200}} --parity={{even|odd|none}} --nortscts --nostop`
|
||||
`sudo cu {{[-l|--line]}} {{/dev/ttyXYZ}} {{[-s|--speed]}} {{115200}} --parity={{even|odd|none}} {{[-f|--nortscts]}} --nostop`
|
||||
|
||||
- Exit the `cu` session when in connection:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user