Linux statserial命令

更新时间: 2019-10-16 12:40

Linux statserial命令用于显示串口状态。

statserial(status ofserial port)可显示各个接脚的状态,常用来判断串口是否正常。

语法

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

参数说明

  • -d 以10进制数字来表示串口的状态。
  • -n 仅显示一次串口的状态后即结束程序。
  • -x 与-n参数类似,但是以16进制来表示。

实例

显示串口状态

# statserial /dev/tty1

只显示一次串口状态

# statserial -n /dev/tty1
Pragmatic Thinking and Learning

Pragmatic Thinking and Learning

Andy Hunt / The Pragmatic Bookshelf / 2008 / USD 34.95

In this title: together we'll journey together through bits of cognitive and neuroscience, learning and behavioral theory; you'll discover some surprising aspects of how our brains work; and, see how ......一起来看看 《Pragmatic Thinking and Learning》 这本书的介绍吧!

MD5 加密

MD5 加密

MD5 加密工具

SHA 加密

SHA 加密

SHA 加密工具

html转js在线工具

html转js在线工具

html转js在线工具