Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

Linux statserial Command

Linux statserial Command

Linux Command Reference Linux Command Reference

The Linux statserial command is used to display serial port status.

statserial (status of serial port) displays the status of each pin and is often used to determine whether a serial port is working properly.

Syntax

statserial [-dnx][串口设备名称]

Parameter Description:

Example

Display serial port status

# statserial /dev/tty1

Display serial port status only once

# statserial -n /dev/tty1

Linux Command Reference Linux Command Reference