Connecting to the console with cu

From Internetworkpro

Jump to: navigation, search
This page or section provides device configuration instructions
Please note that the information on this page has not been checked for accuracy and is not intended as a replacement to documentation. Please ensure you understand your desired objectives before attempting to apply any examples listed.
See more examples at Category:Configuration
Also known as UUCP

apt-get install cu (or whatever your disto does to install cu)

 cu -s9600 --nostop  -lttyS0 

cu is also great for scripts and those of us who are lazy

 cu recognizes the following commands:

       ~.   Terminate the conversation.  <--remember that one

       ~! command
            Run command in a shell.  If command is empty, starts up a shell.

       ~$ command
            Run command, sending the standard output to the remote system.

       ~| command
            Run command, taking the standard input from the remote system.

       ~+ command
            Run command, taking the standard input from the remote system  and
            sending the standard output to the remote system.

       ~#, ~%break
           Send a break signal, if possible.

Personal tools