commands.sh

minicom

linux

Communicate with the serial interface of a device. See also: `picocom`, `cu`, `tio`.

More info →

Options (5)

-D, --deviceboolean

Open a given serial port

Example: sudo minicom {{[-D|--device]}} {{/dev/ttyXYZ}}
-b, --baudrateboolean

Open a given serial port with a given baud rate

Example: sudo minicom {{[-D|--device]}} {{/dev/ttyXYZ}} {{[-b|--baudrate]}} {{115200}}
-s, --setupboolean

Enter the configuration menu before communicating with a given serial port

Example: sudo minicom {{[-D|--device]}} {{/dev/ttyXYZ}} {{[-s|--setup]}}
-C, --capturefileboolean

Capture the output of a serial port to a file

Example: sudo minicom {{[-D|--device]}} {{/dev/ttyXYZ}} {{[-C|--capturefile]}} {{path/to/file}}
-h, --helpboolean

Display help

Example: minicom {{[-h|--help]}}

Examples (6)

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]
made by @shridhargupta | data from tldr-pages