How to change hostname in Ubuntu 18.04 permanently (Step by step)

Published: 04 October 2020
on channel: Root Infotech
64
3

In this video you will learn how to change hostname in Ubuntu 18.04 permanently with very easy step. I have share all command in below.

Step 1: Open Terminal
Step 2: hostnamectl
Step 3: sudo hostnamectl set-hostname(put your new hostname here)
Step 4:sudo nano /etc/hosts (for permanently change)
Step 5: sudo reboot
Now your hostname change successfully.
Thanks for watching this video. If this video is helpful please subscribe my channel and like this and comment us.

Thank you so much...


Watch video How to change hostname in Ubuntu 18.04 permanently (Step by step) online without registration, duration hours minute second in high quality. This video was added by user Root Infotech 04 October 2020, don't forget to share it with your friends and acquaintances, it has been viewed on our site 64 once and liked it 3 people.