How to Change Hostname on Debian 10 Linux

The hostname is set at the time when the Debian operating system is installed or if you are spinning up a virtual machine it is dynamically assigned to the instance at startup. This tutorial explains how to change the hostname on Debian 10 Buster without restarting the system.

Source: LXer – How to Change Hostname on Debian 10 Linux