How to Set Host Name In linux

If You Want Share Your Tricks On This Website Contact Admin Telegram:@behindfactss

Moderators: devil, devil

Post Reply
devil
Member
Member
Posts: 12
Joined: Sun Feb 09, 2020 3:21 pm

Sat Apr 25, 2020 11:44 am

# Type the following command to edit /etc/hostname using nano or vi text editor: #sudo nano /etc/hostname. Delete the old name and setup new name.
#Next Edit the /etc/hosts file: sudo nano /etc/hosts. ...
#Reboot the system to changes take effect: sudo reboot.


Post Reply