免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
123下一页
最近访问板块 发新帖
查看: 2262 | 回复: 20
打印 上一主题 下一主题

[新手入门] # lsdev -C -F "class subclass type description" |s [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-04-24 20:24 |只看该作者 |倒序浏览
# lsdev -C -F "class subclass type description" |sort
adapter        isa_sio    baud4232       Ultimedia Integrated Audio
adapter        isa_sio    chrp_ecp       CHRP IEEE1284 (ECP) Parallel Port Adapt
er
adapter        isa_sio    isa_tablet     Tablet Adapter
adapter        isa_sio    kma_chrp       Keyboard/Mouse Adapter
adapter        isa_sio    pnp501         Standard I/O Serial Port
adapter        isa_sio    pnp501         Standard I/O Serial Port
adapter        isa_sio    pnp700         Standard I/O Diskette Adapter
adapter        kma_chrp   keyboard       Keyboard Adapter
adapter        kma_chrp   mouse          Mouse Adapter
adapter        pci        23100020       IBM 10/100 Mbps Ethernet PCI Adapter (2
3100020)
adapter        pci        2b102005       GXT130P Graphics Adapter
adapter        pci        sym875         Wide/Fast-20 SCSI I/O Controller
aio            node       aio            Asynchronous I/O
bus            chrp       pci            PCI Bus
bus            pci        isac           ISA Bus
cdrom          scsi       scsd           SCSI Multimedia CD-ROM Drive
disk           scsi       osdisk         Other SCSI Disk Drive
diskette       siofd      fd             Diskette Drive
gxme           node       gxme           Graphics Data Transfer Assist Subsystem
if             EN         en             Standard Ethernet Network Interface
if             EN         ie3            IEEE 802.3 Ethernet Network Interface
if             LO         lo             Loopback Network Interface
keyboard       std_k      ps2            PS/2 keyboard
lft            node       lft            Low Function Terminal Subsystem
logical_volume lvsubclass lvtype         Logical volume
logical_volume lvsubclass lvtype         Logical volume
logical_volume lvsubclass lvtype         Logical volume
logical_volume lvsubclass lvtype         Logical volume
logical_volume lvsubclass lvtype         Logical volume
logical_volume lvsubclass lvtype         Logical volume
logical_volume lvsubclass lvtype         Logical volume
logical_volume lvsubclass lvtype         Logical volume
logical_volume lvsubclass lvtype         Logical volume
logical_volume lvsubclass lvtype         Logical volume
logical_volume lvsubclass lvtype         Logical volume
logical_volume lvsubclass lvtype         Logical volume
logical_volume lvsubclass lvtype         Logical volume
logical_volume lvsubclass lvtype         Logical volume
logical_volume vgsubclass vgtype         Volume group
lvm            lvm        lvdd           LVM Device Driver
memory         sys        L2cache_rspc   L2 Cache
memory         sys        totmem         Memory
mouse          std_m      mse_2b         2 button mouse
planar         sys        sysplanar_rspc System Planar
printer        parallel   opp            Other parallel printer
processor      sys        proc_rspc      Processor
pty            pty        pty            Asynchronous Pseudo-Terminal
pwrmgt         sys        pwrmgt         Power Management Controller
rcm            node       rcm            Rendering Context Manager Subsystem
sys            node       chrp           System Object
tape           scsi       ost            Other SCSI Tape Drive
tape           scsi       ost            Other SCSI Tape Drive
tape           scsi       ost            Other SCSI Tape Drive
tcpip          TCPIP      inet           Internet Network Extension
tty            rs232      tty            Asynchronous Terminal

什么意思?

论坛徽章:
0
2 [报告]
发表于 2003-04-24 20:28 |只看该作者

# lsdev -C -F "class subclass type description" |s

lsdev不用解释了吧!这里不过用了一个管道命令而已,过滤出当前系统支持的device class

论坛徽章:
0
3 [报告]
发表于 2003-04-24 20:31 |只看该作者

# lsdev -C -F "class subclass type description" |s

可是我想知道呀~

论坛徽章:
0
4 [报告]
发表于 2003-04-24 20:33 |只看该作者

# lsdev -C -F "class subclass type description" |s

倒!你想知道什么?lsdev?list device!!

论坛徽章:
0
5 [报告]
发表于 2003-04-24 20:34 |只看该作者

# lsdev -C -F "class subclass type description" |s

list device~

论坛徽章:
1
荣誉版主
日期:2011-11-23 16:44:17
6 [报告]
发表于 2003-04-24 20:37 |只看该作者

# lsdev -C -F "class subclass type description" |s

敲这么长不累呀
lsdev -C

论坛徽章:
0
7 [报告]
发表于 2003-04-24 20:38 |只看该作者

# lsdev -C -F "class subclass type description" |s

那样的输出很杂哦!这样看的养眼一些!

论坛徽章:
0
8 [报告]
发表于 2003-04-24 20:41 |只看该作者

# lsdev -C -F "class subclass type description" |s

原帖由 "ibm6000" 发表:
敲这么长不累呀
lsdev -C

# lsdev -C
sys0       Available 00-00        System Object
sysplanar0 Available 00-00        System Planar
pci0       Available 00-80000000  PCI Bus
isa0       Available 10-58        ISA Bus
sa0        Available 01-S1        Standard I/O Serial Port
sa1        Available 01-S2        Standard I/O Serial Port
siokma0    Available 01-K1        Keyboard/Mouse Adapter
fda0       Available 01-D1        Standard I/O Diskette Adapter
scsi0      Available 10-80        Wide/Fast-20 SCSI I/O Controller
mg20       Available 10-b0        GXT130P Graphics Adapter
hdisk0     Available 10-80-00-2,0 Other SCSI Disk Drive
cd0        Available 10-80-00-3,0 SCSI Multimedia CD-ROM Drive
mem0       Available 00-00        Memory
proc0      Available 00-00        Processor
L2cache0   Available 00-00        L2 Cache
sioka0     Available 01-K1-00     Keyboard Adapter
fd0        Available 01-D1-00-00  Diskette Drive
kbd0       Available 01-K1-00-00  PS/2 keyboard
lvdd       Available              LVM Device Driver
lft0       Available              Low Function Terminal Subsystem
tty0       Available 01-S2-00-00  Asynchronous Terminal
rootvg     Defined                Volume group
hd5        Defined                Logical volume
hd6        Defined                Logical volume
hd8        Defined                Logical volume
hd4        Defined                Logical volume
hd2        Defined                Logical volume
hd9var     Defined                Logical volume
hd3        Defined                Logical volume
hd1        Defined                Logical volume
pmc0       Available 00-00        Power Management Controller
siota0     Available 01-Q1        Tablet Adapter
ppa0       Available 01-R1        CHRP IEEE1284 (ECP) Parallel Port Adapter
paud0      Available 01-Q2        Ultimedia Integrated Audio
ent0       Available 10-60        IBM 10/100 Mbps Ethernet PCI Adapter (23100020
)
sioma0     Available 01-K1-01     Mouse Adapter
mouse0     Defined   01-K1-01-00  2 button mouse
inet0      Available              Internet Network Extension
en0        Available              Standard Ethernet Network Interface
et0        Defined                IEEE 802.3 Ethernet Network Interface
lo0        Available              Loopback Network Interface
pty0       Available              Asynchronous Pseudo-Terminal
gxme0      Available              Graphics Data Transfer Assist Subsystem
rcm0       Available              Rendering Context Manager Subsystem
aio0       Defined                Asynchronous I/O
rmt0       Defined   10-80-00-4,0 Other SCSI Tape Drive
lv00       Defined                Logical volume
lv01       Defined                Logical volume
lv02       Defined                Logical volume
lv03       Defined                Logical volume
lv04       Defined                Logical volume
rmt1       Defined   10-80-00-5,0 Other SCSI Tape Drive
rmt2       Available 10-80-00-6,0 Other SCSI Tape Drive
lp0        Available 01-R1-00-00  Other parallel printer
lv05       Defined                Logical volume

结果不一样呀~~~~~~~~~~~都不懂呀~

论坛徽章:
0
9 [报告]
发表于 2003-04-24 20:42 |只看该作者

# lsdev -C -F "class subclass type description" |s

我不怕累~~~~

我想知道~

论坛徽章:
0
10 [报告]
发表于 2003-04-24 20:43 |只看该作者

# lsdev -C -F "class subclass type description" |s

这就是管道的作用阿,重新排序过滤了输出阿!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP