Sunday, January 17, 2021

change hostname on ubuntu 18.04 (for example)

 

Procedure:
show hostname
hostnamectl
set new host name
sudo hostnamectl set-hostname <newname>
edit hostname file
edit instance of name in local host entry for the host name
log out and back in, will show in bash prompt

https://linuxize.com/post/how-to-change-hostname-on-ubuntu-18-04/

 

 

--30--

No comments:

Post a Comment