commands.sh

tio

all

Monitor and interact with serial ports. See also: `picocom`, `cu`, `minicom`.

More info →

Options (3)

-b, --baudrateboolean

Open a serial port with a specific baud rate

Example: tio {{[-b|--baudrate]}} {{9600}} {{/dev/ttyUSB0}}
-L, --logboolean

Open a serial port and log output to a file

Example: tio {{[-L|--log]}} --log-file {{log_file}} {{/dev/ttyUSB0}}
-l, --listboolean

List available serial ports

Example: tio {{[-l|--list]}}

Examples (6)

Open a serial port with default settings

tio /dev/ttyUSB0

Open a serial port with a specific baud rate

tio [-b|--baudrate] 9600 /dev/ttyUSB0

Open a serial port and log output to a file

tio [-L|--log] --log-file log_file /dev/ttyUSB0

Open a serial port and enable hexadecimal output

tio --output-mode hex /dev/ttyUSB0

List available serial ports

tio [-l|--list]

Exit `tio` session

<Ctrl t><q>
made by @shridhargupta | data from tldr-pages