Yesterday I changed my hostname to 'kasun~cse' by editing the file /etc/hostname.
But after changing the filewhen I implement network related commands I get the following error .
I couldn't understand why this happens. Do I have to edit some more other names such as dnsdomainname as well
Please give me a solution for this.
Thanks.
But after changing the filewhen I implement network related commands I get the following error .
sudo: unable to resolve host kasun~cse
Please give me a solution for this.
Thanks.
Comment