Linux cu command
The Linux cu command is used to connect to another system host.
The cu (call up) command can connect to another host and work through an interface similar to a dial-up terminal; it can also perform simple file transfer tasks.
Syntax
cu [dehnotv][-a<通信端口>][-c<电话号码>][-E<脱离字符>][-I<设置文件>][-l<外围设备代号>][-s<连线速率>][-x<排错模式>][-z<系统主机>][--help][-nostop][--parity=none][<系统主机>/<电话号码>]
Parameter Description:
- -a
or -p or --port Use the specified communication port for the connection. - -c
or --phone Dial the specified phone number. - -d Enter debug mode.
- -e or --parity=even Use even parity checking.
- -E
or --escape Set the escape character. - -h or --halfduple Use half-duplex mode.
- -I
or --config Specify the configuration file to use. - -l
or --line Specify a peripheral device to use as the connection device. - -n or --prompt Wait for the user to enter a phone number when dialing.
- -o or --parity=odd Use odd parity checking.
- -s
or --speed or --baud or - Set the connection speed, measured in baud. - -t or --maper Replace CR characters with LF+CR characters.
- -v or --version Display version information.
- -x
or --debug Use debug mode. - -z
or --system Connect to that system host. - --help Online help.
- --nostop Disable Xon/Xoff software flow control.
- --parity=none Do not use parity checking.
Example
Connecting to a remote host
# cu -c 0102377765
Linux Command Reference