ldd3 运行脚本awk

来源:互联网 发布:昂酷拍卖系统源码 编辑:程序博客网 时间:2024/05/21 06:48

在终端运行下面命令可以查询到tty的主设备号

awk     '$2  == "tty" {print $1}' /proc/devices

0 0