How to update the hostname on a Debian system Try this command first too change your hostname: hostnamectl set-hostname newhostname Exit the terminal, and come back in. If that doesn’t work, also check the Read More