mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-04 14:55:32 +00:00
Update cheatsheets
This commit is contained in:
12
tldr/picocom
12
tldr/picocom
@@ -8,10 +8,18 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
> Minimal program to emulate serial consoles.
|
||||
> More information: <https://manned.org/picocom>.
|
||||
|
||||
- Connect to a serial console with the default baud rate of 9600:
|
||||
|
||||
`sudo picocom {{/dev/ttyXYZ}}`
|
||||
|
||||
- Connect to a serial console with a specified baud rate:
|
||||
|
||||
`picocom {{/dev/ttyXYZ}} --baud {{baud_rate}}`
|
||||
`sudo picocom {{/dev/ttyXYZ}} --baud {{baud_rate}}`
|
||||
|
||||
- Map special characters (e.g. `LF` to `CRLF`):
|
||||
|
||||
`picocom {{/dev/ttyXYZ}} --imap {{lfcrlf}}`
|
||||
`sudo picocom {{/dev/ttyXYZ}} --imap {{lfcrlf}}`
|
||||
|
||||
- Exit picocom:
|
||||
|
||||
`<Ctrl a><Ctrl x>`
|
||||
|
||||
Reference in New Issue
Block a user