Access com port on Linux

Here’s how to access your com port on Linux (for configuring a switch for example);

Make sure you have cu available (install it with yum install uucp)


root# chown uucp /dev/ttyS0
root# cu -l /dev/ttyS0 -s 9600

This connects you to com1.

Note: To exit cu use ~. (tilde-dot)