View, Change The Hostname In Systemd System


View, change the hostname in systemd system.

To change your hostname in Debian, do the following.

View, change the hostname in systemd system.

NOTE:You can replace gedit with vi or vim or whatever texteditor you prefer.

Open a terminal window and type:

hostnamectl status

Press Enter, lots of info will show up, but the one we want is the Static Hostname:____________

To change this we need to type:

hostnamectl set-hostname whatever-you-like

Press Enter and then type:


Press Enter,

To see the hostname is updated !

Next we need to modify the hostname in /etc/hosts file.

Type the following command:

sudo gedit /etc/hosts

Press Enter

Now edit the second row, like this:    localhost    donald.donald    donald

Save the file, done.

Open the /etc/host also to see that the new name appears in it:

sudo gedit /etc/host

Press Enter,

Now to check all changes are proparly made type:


Press Enter,

At the commandline it should look like this: duck@donald:~$

Ps, I didn't have to restart my computer for it to take effect.

Games For Linux

Windows has always been the preferred platform for gaming, but after STEAM's interest in Linux more game developers are making their games natively available for Linux.


All information on this website is published in good faith and for general educational purposes and for use in safe testing environments only. While strives to make the information on this site as accurate as possible, does not warrant its completeness, reliability and accuracy.

We are not responsible for any losses or damages associated with the use of our website. While we strive to provide only links to useful websites, we have no control over the content of these sites and links to other sites do not constitute a recommendation for all content contained on these websites.


Site Information

This is a professional review site that receives compensation from the companies whose products reviewed. Each service or product are thoroughly tested and given high marks if considered to be the very best. Independently owned and the opinions expressed here are no one elses.


Limited Time Offers

Coming soon...