Created
July 13, 2019 04:59
-
-
Save debxp/830cb09988d8c3e167a0a42453d45731 to your computer and use it in GitHub Desktop.
Change hostname
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo hostnamectl set-hostname new_name | |
sudo nano /etc/hosts | |
...replace the old name with the new one. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment