stty command can be used to get the speed and other details of serial ports in Ubuntu machine.
stty -F /dev/ttyS0
Output:
speed 9600 baud; line = 0;
...
stty -F /dev/ttyUSB0
Output:
speed 115200 baud; line = 0;
...
stty command can be used to get the speed and other details of serial ports in Ubuntu machine.
stty -F /dev/ttyS0
Output:
speed 9600 baud; line = 0;
...
stty -F /dev/ttyUSB0
Output:
speed 115200 baud; line = 0;
...