【发布时间】:2023-03-05 05:58:01
【问题描述】:
如何使用 shell 或 AppleScript 获取 Mac 的序列号
【问题讨论】:
-
请将屏幕截图添加为图片,而不是链接。此外,您自己尝试过什么?
标签: macos shell applescript
如何使用 shell 或 AppleScript 获取 Mac 的序列号
【问题讨论】:
标签: macos shell applescript
在 shell 中你可以使用ioreg:
ioreg -l | grep IOPlatformSerialNumber
或system_profiler:
system_profiler SPHardwareDataType | grep Serial
【讨论】: