Linux cu command

Linux 命令大全Linux Command Reference

The Linux cu command is used to connect to another system host.

The cu (call up) command can connect to another host, works with an interface similar to a dial-up terminal, and can also perform simple file transfer operations.

Syntax

cu [dehnotv][-a<通信端口>][-c<电话号码>][-E<脱离字符>][-I<设置文件>][-l<外围设备代号>][-s<连线速率>][-x<排错模式>][-z<系统主机>][--help][-nostop][--parity=none][<系统主机>/<电话号码>]

Parameter Description:

  • -a<communication port> or -p<communication port> or --port<communication port> Use the specified communication port to connect.
  • -c<phone number> or --phone<phone number> Dial this phone number.
  • -d Enter debug mode.
  • -e or --parity=even Use even parity check.
  • -E<escape character> or --escape<escape character> Set the escape character.
  • -h or --halfduplex Use half-duplex mode.
  • -I<configuration file> or --config<configuration file> Specify the configuration file to use.
  • -l<peripheral device code> or --line<peripheral device code> Specify a peripheral device as the connected device.
  • -n or --prompt Wait for the user to enter the phone number when dialing.
  • -o or --parity=odd Use odd parity check.
  • -s<connection speed> or --speed<connection speed> or --baud<connection speed> or -<connection speed> Set the connection speed, measured in baud rate.
  • -t or --maper Replace CR characters with LF+CR characters.
  • -v or --version Display version information.
  • -x<debug mode> or --debug<debug mode> Use debug mode.
  • -z<system host> or --system<system host> Connect to that system host.
  • --help Online help.
  • --nostop Disable Xon/Xoff software flow control.
  • --parity=none Do not use parity check.

Examples

Connect to a remote host

# cu -c 0102377765

Linux 命令大全Linux Command Reference

Other extensions