OPERATING SYSTEMSOS Linux

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

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…

source

ubuntu

Leave a Reply

Your email address will not be published. Required fields are marked *