hostname command

Q. I’m using Ubuntu Linux. How do I change my hostname or the machine name? A.. You need to use hostname command, which is used to either set or display the current host or domain name of the system. This name is used by many of the networking programs to identify the machine. Following instructions […]

{ 11 comments }

Q. I would like to change hostname and domain name for my Linux server. Where can I set the local hostname and domain name of my server? A. You can use hostname command to show or set the system’s host name and dnsdomainname command to show the system’s DNS domain name. But the changes are […]

{ 8 comments }