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.
根据http://www.vmware.com/support/esx15/doc/esx15_runvm5.html,如何生成文档中指定的 UUID 格式?
我希望这是一个命令行实用程序,因此我可以在自动化脚本中重复使用它。
命令:
uuidgen | perl -ne '{ s/-//g; s/(.{2})/\1 /g; substr($_,23,1,"-"); print ; }'
输出:
CB 7B E9 47 F7 55 42 42-AC 16 46 C1 E9 08 35 53