The easiest way to connect to a serial console from Linux command line is using the screen command. In my example below, I will show you how to connect to a serial console of a server using the serial to usb cable.
[root@test ~]# screen /dev/ttyUSB0 ****************************************** Connected to ******* ******************************************
Enjoy 🙂