mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-14 08:59:42 +00:00
Update cheatsheets
This commit is contained in:
34
tldr/tio
Normal file
34
tldr/tio
Normal file
@@ -0,0 +1,34 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# tio
|
||||
|
||||
> Monitor and interact with serial ports.
|
||||
> See also: `picocom`, `cu`, `minicom`.
|
||||
> More information: <https://github.com/tio/tio#3-usage>.
|
||||
|
||||
- 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>`
|
||||
Reference in New Issue
Block a user