Linux上一切皆文件,不管什么程序,读取文件就能获取一个UUID.

Linux内核提供有UUID生成接口:

cat /proc/sys/kernel/random/uuid

  获取系统uuid

dmidecode -s system-uuid | tr 'A-Z' 'a-z'

  

相关文章:

  • 2022-12-23
  • 2021-06-04
  • 2022-12-23
  • 2021-08-03
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-11
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案