Quantcast
Channel: Linux 彙整 - pveCLI
Viewing all articles
Browse latest Browse all 20

Linux: 顯示系統名稱資料

$
0
0

使用以下指令:

hostnamectl

會顯示例如以下結果:

Static hostname: ubuntu
         Icon name: computer-vm
           Chassis: vm
        Machine ID: a94e2d_____________9b162c0fc0d5d9
           Boot ID: a6ce0b_____________935a9590e2a438
    Virtualization: kvm
  Operating System: Ubuntu 20.04.2 LTS
            Kernel: Linux 5.4.0-66-generic
      Architecture: x86-64

修改系統名稱:

hostnamectl set-hostname vm-web-jsjss

這篇文章 Linux: 顯示系統名稱資料 最早出現於 pveCLI


Viewing all articles
Browse latest Browse all 20

Trending Articles