# hostnamectl命令

  • 作用:查看操作系统是那个版本。如:centos7、centos8。可以查看linux的内壳版本。

机器id

  • 使用:
hostnamectl
1
Last Updated: 10/9/2025, 1:02:15 AM