I have updated my system's hostname in /etc/hostname
file as master. I have also mapped my /etc/hosts
file like
<ip> master
Still, when I type $ hostname
, I get a different hostname.
I basically want to change my hostname from the default one to "master".
What file am I missing out?
<ip>
the placeholder for? It should be 127.0.1.1 – jnuk Jul 28 '14 at 21:01