Let us see how to assign hostname in Debian. Using the method described in this Linux tutorial will change hostname, domain name and fqdn permanently.
Debian 9 Change hostname.
The command used for verifying the hostname, domain name, and fqdn.
Hostname: hostname
Domain name: hostname -d
FQDN: hostname -f
Commands used to apply the new hostname in Debian 9. This command will work with several other distros as well.
To apply new settings: hostname -F /etc/hostname
To view the written instructions or more information about the topic, check out my article at https://soltveit.org/debian-9-change-...
Debian 9 is a free operating system that can be downloaded from their official site at https://www.debian.org
That is how to Debian 9 change hostname or fqdn permanently.