1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-27 16:15:27 +02:00
tldr/pages/linux/minicom.md

29 lines
695 B
Markdown
Raw Normal View History

2021-12-30 11:55:32 +01:00
# minicom
> Communicate with the serial interface of a device.
2021-12-30 11:55:32 +01:00
> More information: <https://manned.org/minicom>.
- Open a given serial port:
`sudo minicom {{[-D|--device]}} {{/dev/ttyXYZ}}`
2021-12-30 11:55:32 +01:00
- Open a given serial port with a given baud rate:
`sudo minicom {{[-D|--device]}} {{/dev/ttyXYZ}} {{[-b|--baudrate]}} {{115200}}`
2021-12-30 11:55:32 +01:00
- Enter the configuration menu before communicating with a given serial port:
`sudo minicom {{[-D|--device]}} {{/dev/ttyXYZ}} {{[-s|--setup]}}`
2025-07-10 09:03:59 +08:00
- 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>`
2025-03-26 00:36:41 +02:00
- Display help:
`minicom {{[-h|--help]}}`