mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
31 lines
636 B
Plaintext
31 lines
636 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# picocom
|
|
|
|
> Minimal program to emulate serial consoles.
|
|
> See also: `minicom`, `cu`, `tio`.
|
|
> 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:
|
|
|
|
`sudo picocom {{/dev/ttyXYZ}} {{[-b|--baud]}} {{baud_rate}}`
|
|
|
|
- Map special characters (e.g. `LF` to `CRLF`):
|
|
|
|
`sudo picocom {{/dev/ttyXYZ}} --imap {{lfcrlf}}`
|
|
|
|
- Exit picocom:
|
|
|
|
`<Ctrl a><Ctrl x>`
|
|
|
|
- Display help:
|
|
|
|
`picocom {{[-h|--help]}}`
|