Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我可以检索哪些参数以在非 root 下生成系统的全局静态唯一 ID?
我可以使用安装日期/var/log/wtmp file(last | tail)还是不稳定?
/var/log/wtmp file(last | tail)
我可以使用它的结果ls /dev/disk/by-uuid/吗?
ls /dev/disk/by-uuid/
我不相信 MAC 地址是唯一的。
uuidgen
它通常出现在/usr/bin/
/usr/bin/
nyancat ~ # uuidgen 488bc393-a4f5-4a83-8df8-8c15e737dcc5 nyancat ~ #