baudrate - Linux


baudrate is a utility command used to set or display the baud rate of a serial device. Baud rate refers to the rate at which data is transferred over a serial connection, typically measured in bits per second (bps). Understanding and setting the appropriate baud rate is essential for establishing successful communication between devices.


baudrate <device> <rate>
baudrate <device>


| Option | Description |
| –rate=rate | Set the baud rate to the specified value. |


Setting a baud rate:

baudrate /dev/ttyUSB0 9600

Displaying the current baud rate:

baudrate /dev/ttyS0

Common Issues

  • Incorrect baud rate: Ensure that the specified baud rate matches the settings on both the sending and receiving devices.
  • Missing or disconnected device: Verify that the specified device is properly connected and recognized by the system.


baudrate can be used in conjunction with other serial communication tools, such as minicom, screen, or picocom, to establish and configure serial connections.

Related Commands

  • stty: Set and display terminal settings, including baud rate.
  • termcap: Manage and access terminal capabilities, including baud rate information.
  • ser2net: Bridge serial devices over TCP/IP networks.