Linux Comm Setserial
# Linux setserial Command
[ Linux Command Manual](#)
The Linux setserial command is used to set or display information related to serial ports.
setserial can be used to set serial ports or display current settings.
### Syntax
setserial
**Parameter Description**:
* -a Display detailed information.
* -b Display summary information.
* -g Display information related to the serial port.
* -G Display information in a command list format.
* -q Display less information during execution.
* -v Display more information during execution.
* -V Display version information.
* -z Before setting, first clear all flags.
### Examples
Display serial port information
# setserial -g /dev/ttyS2 /dev/ttyS2, UART: unknown, Port: 0x03e8, IRQ: 4
[ Linux Command Manual](#)
YouTip