Hostname Show current server hostname: hostname Show current server hostname, and other useful info: hostnamectl status example output: root@test:~# hostnamectl status Static hostname: test      Icon name: computer-vm        Chassis: vm     Machine ID: 8c1d97558b594586af68685af4a049c9        Boot ID: c2478c600d2b43f0bf58682f1df01013 Virtualization: kvm Operating System: Ubuntu 22.04.3 LTS         Kernel: Linux 5.15.0-106-generic   Architecture: x86-64 Hardware Vendor: QEMU Hardware Model: Standard PC _i440FX + PIIX, 1996_ Change server hostname: