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 with an interface similar to a dial-up terminal, and can also perform simple file transfer operations.
Syntax
cu [dehnotv][-a<communication port>][-c<phone number>][-E<escape character>][-I<configuration file>][-l<peripheral device code>][-s<connection speed>][-x<debug mode>][-z<system host>][--help][-nostop][--parity=none][<system host>/<phone number>]
Parameter Description:
-a<communication port> or -p<communication port> or --port<communication port> Use the specified communication port for connection.
-c<phone number> or --phone<phone number> Dial the specified 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 --halfduple 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 connection device.
-n or --prompt Wait for the user to input 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 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 the specified system host.
--help Online help.
--nostop Disable Xon/Xoff software flow control.
--parity=none Do not use parity check.
Example
Connect to a remote host
# cu -c 0102377765