English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

Linux statserial Command

Linux Command大全

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

statserial (status of serial port) can display the status of each pin, often used to judge whether the serial port is normal.

Syntax

statserial [-dnx][Serial Port Device Name]

Parameter Description:

  • -d With10Expressed in binary numbers to represent the status of the serial port.
  • -n Display the status of the serial port only once and then exit the program.
  • -x And-The n parameter is similar, but expressed in16Expressed in Decimal.

Online Examples

Display Serial Port Status

#statserial /dev/tty1

Display Serial Port Status Only Once

#statserial -n /dev/tty1

Linux Command大全