Change hostname in Ubuntu
— Add/Rename hostname inside “/etc/hosts“ — Add/Rename hostname inside “/etc/hostname“ — Dynamically update the hostname as well — Reboot the system
where you will find educational info.
— Add/Rename hostname inside “/etc/hosts“ — Add/Rename hostname inside “/etc/hostname“ — Dynamically update the hostname as well — Reboot the system