mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
35 lines
823 B
Plaintext
35 lines
823 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# minicom
|
|
|
|
> Communicate with the serial interface of a device.
|
|
> See also: `picocom`, `cu`, `tio`.
|
|
> More information: <https://manned.org/minicom>.
|
|
|
|
- Open a given serial port:
|
|
|
|
`sudo minicom {{[-D|--device]}} {{/dev/ttyXYZ}}`
|
|
|
|
- Open a given serial port with a given baud rate:
|
|
|
|
`sudo minicom {{[-D|--device]}} {{/dev/ttyXYZ}} {{[-b|--baudrate]}} {{115200}}`
|
|
|
|
- Enter the configuration menu before communicating with a given serial port:
|
|
|
|
`sudo minicom {{[-D|--device]}} {{/dev/ttyXYZ}} {{[-s|--setup]}}`
|
|
|
|
- Capture the output of a serial port to a file:
|
|
|
|
`sudo minicom {{[-D|--device]}} {{/dev/ttyXYZ}} {{[-C|--capturefile]}} {{path/to/file}}`
|
|
|
|
- Exit minicom:
|
|
|
|
`<Ctrl a><x><Enter>`
|
|
|
|
- Display help:
|
|
|
|
`minicom {{[-h|--help]}}`
|