Ubuntu Change Host Name

July 18, 2019
sudo hostnamectl set-hostname HOSTNAME

Check hostname

hostnamectl

You might want to change the host file as well

sudo nano /etc/hosts
This work is licensed under a
Creative Commons Attribution-NonCommercial 4.0 International License.