1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-21 22:02:09 +02:00
tldr/pages/linux/cu.md
2025-03-26 00:36:41 +02:00

871 B

cu

Call Up another system and act as a dial-in/serial terminal or perform file transfers with no error checking. More information: https://manned.org/cu.

  • Open a given serial port:

sudo cu {{[-l|--line]}} {{/dev/ttyXYZ}}

  • Open a given serial port with a given baud rate:

sudo cu {{[-l|--line]}} {{/dev/ttyXYZ}} {{[-s|--speed]}} {{115200}}

  • Open a given serial port with a given baud rate and echo characters locally (half-duplex mode):

sudo cu {{[-l|--line]}} {{/dev/ttyXYZ}} {{[-s|--speed]}} {{115200}} {{[-h|--halfduplex]}}

  • Open a given serial port with a given baud rate, parity, and no hardware or software flow control:

sudo cu {{[-l|--line]}} {{/dev/ttyXYZ}} {{[-s|--speed]}} {{115200}} --parity={{even|odd|none}} {{[-f|--nortscts]}} --nostop

  • Exit the cu session when in connection:

<Enter><~><.>

  • Display help:

cu --help