# hostnamectl命令

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

机器id

  • 使用:
hostnamectl
1
Last Updated: 1/10/2026, 11:14:15 AM