Debian12 命令行修改设备名称

hostnamectl set-hostname new_hostname

hostnamectl
   Static hostname: raspberrypi
         Icon name: computer
        Machine ID: 0035faf761f945b8923fc7d54632a941
           Boot ID: c487a76d67a34fd28a5f608aff19281c
  Operating System: Raspbian GNU/Linux 10 (buster)
            Kernel: Linux 4.19.29-v7l+
      Architecture: arm

发表回复

登录... 后才能评论