日韩av黄I国产麻豆传媒I国产91av视频在线观看I日韩一区二区三区在线看I美女国产在线I麻豆视频国产在线观看I成人黄色短片

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 >

linux怎么查看设备序列号,linux 使用dmidecode查看设备序列号

發布時間:2023/12/10 53 豆豆
生活随笔 收集整理的這篇文章主要介紹了 linux怎么查看设备序列号,linux 使用dmidecode查看设备序列号 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

1.非root用戶下使用dmidecode命令

[netcool@SXINMSM1 ~]$ dmidecode

-bash: dmidecode: command not found

[netcool@SXINMSM1 ~]$ whereis dmidecode

dmidecode: /usr/sbin/dmidecode

/usr/share/man/man8/dmidecode.8.gz

非root用戶下沒有使用此命令的權限

[netcool@SXINMSM1 ~]$ /usr/sbin/dmidecode|more

/dev/mem: Permission denied

# dmidecode 2.9

2.root用戶下使用dmidecode命令

[netcool@SXINMSM1 ~]$ su root

口令:

[root@SXINMSM1 netcool]# dmidecode |grep "Serial Number"

備注:查看設備序列號

bash: dmidecode: command not found

[root@SXINMSM1 netcool]# /usr/sbin/dmidecode|grep "Serial

Number"

Serial Number:

CNG018S2QF?Serial Number:

CNG018S2QF?Serial Number: Not Specified

Serial Number: Not Specified

Serial Number: Not Specified

Serial Number: Not Specified

總結

以上是生活随笔為你收集整理的linux怎么查看设备序列号,linux 使用dmidecode查看设备序列号的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。